reference/oci8/ocilob/read.xml
665c1d6da54067f8dcd5eb1a292aa03f5bc0e2d4
...
...
@@ -8,18 +8,19 @@
8
8
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
-
<methodsynopsis role="oop">
11
+
<methodsynopsis role="OCILob">
12
12
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>OCILob::read</methodname>
13
13
<methodparam><type>int</type><parameter>length</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Reads <parameter>length</parameter> bytes from the current position of
17
-
LOB's internal pointer.
16
+
Reads <parameter>length</parameter> of bytes (BLOB) or characters (CLOB)
17
+
from the current position of LOB's internal pointer.
18
18
</para>
19
19
<para>
20
-
Reading stops when <parameter>length</parameter> bytes have been read or
21
-
end of the large object is reached. Internal pointer of the large object
22
-
will be shifted on the amount of bytes read.
20
+
Reading stops when <parameter>length</parameter> of bytes have been read for a BLOB,
21
+
when <parameter>length</parameter> of characters have been read for a CLOB,
22
+
or when the end of the large object is reached. Internal pointer of the large object
23
+
will be shifted on the amount of bytes/characters read.
23
24
</para>
24
25
</refsect1>
25
26

...
...
@@ -31,7 +32,8 @@
31
32
<term><parameter>length</parameter></term>
32
33
<listitem>
33
34
<para>
34
-
The length of data to read, in bytes. Large values will be rounded down to 1 MB.
35
+
The length of data to read, in bytes (BLOB) or characters (CLOB).
36
+
Large values will be rounded down to 1 MB.
35
37
</para>
36
38
</listitem>
37
39
</varlistentry>
38
40