@@ -48,15 +48,15 @@ using namespace dpi;
4848
4949 DESCRIPTION
5050 Read from the Lob Locator.
51-
51+
5252 PARAMETERS
5353 svch - OCI service handle
5454 errh - OCI error handle
5555 lobLocator - Lob locator to be read
5656
5757 byteAmount (IN/OUT) - IN: number of bytes to read
5858 OUT: number of bytes read
59- Used for BLOB and BFILE always.
59+ Used for BLOB and BFILE always.
6060 For CLOB, it is used only when charAmount is zero.
6161
6262 charAmount (IN/OUT) - IN: number of characters to read. Set to zero if
@@ -74,15 +74,15 @@ using namespace dpi;
7474 nothing
7575
7676 NOTES
77-
77+
7878*/
79-
79+
8080void Lob::read (DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
8181 unsigned long long &byteAmount, unsigned long long &charAmount,
8282 unsigned long long offset, void *buf, unsigned long long bufl)
8383{
8484 ociCall (OCILobRead2 ((OCISvcCtx *)svch, (OCIError *)errh,
85- (OCILobLocator *)lobLocator,
85+ (OCILobLocator *)lobLocator,
8686 (oraub8 *)&byteAmount, (oraub8 *)&charAmount,
8787 offset, buf, (oraub8)(byteAmount ? byteAmount : bufl),
8888 OCI_ONE_PIECE, NULL , NULL , 0 , SQLCS_IMPLICIT),
@@ -95,15 +95,15 @@ void Lob::read(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
9595
9696 DESCRIPTION
9797 Write to the Lob Locator.
98-
98+
9999 PARAMETERS
100100 svch - OCI service handle
101101 errh - OCI error handle
102102 lobLocator - Lob locator to be written
103103
104104 byteAmount (IN/OUT) - IN: number of bytes to write
105105 OUT: number of bytes actually written
106- Used for BLOB and BFILE always.
106+ Used for BLOB and BFILE always.
107107 For CLOB, it is used only when charAmount is zero.
108108
109109 charAmount (IN/OUT) - IN: number of characters to written. Set to zero if
@@ -121,15 +121,15 @@ void Lob::read(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
121121 nothing
122122
123123 NOTES
124-
124+
125125*/
126-
126+
127127void Lob::write (DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
128128 unsigned long long &byteAmount, unsigned long long &charAmount,
129129 unsigned long long offset, void *buf, unsigned long long bufl)
130130{
131131 ociCall (OCILobWrite2 ((OCISvcCtx *)svch, (OCIError *)errh,
132- (OCILobLocator *)lobLocator,
132+ (OCILobLocator *)lobLocator,
133133 (oraub8 *)&byteAmount, (oraub8 *)&charAmount,
134134 offset, buf, (oraub8)(byteAmount ? byteAmount : bufl),
135135 OCI_ONE_PIECE, NULL , NULL , 0 , SQLCS_IMPLICIT),
@@ -142,7 +142,7 @@ void Lob::write(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
142142
143143 DESCRIPTION
144144 Get Lob chunk size
145-
145+
146146 PARAMETERS
147147 svch - OCI service handle
148148 errh - OCI error handle
@@ -154,14 +154,14 @@ void Lob::write(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
154154 nothing
155155
156156 NOTES
157-
157+
158158*/
159-
159+
160160unsigned int Lob::chunkSize (DpiHandle *svch, DpiHandle *errh,
161161 Descriptor *lobLocator)
162162{
163163 unsigned int chunkSize = 0 ;
164-
164+
165165 ociCall (OCILobGetChunkSize ((OCISvcCtx *)svch, (OCIError *)errh,
166166 (OCILobLocator *)lobLocator, &chunkSize),
167167 (OCIError *)errh);
@@ -175,7 +175,7 @@ unsigned int Lob::chunkSize(DpiHandle *svch, DpiHandle *errh,
175175
176176 DESCRIPTION
177177 Get Lob length
178-
178+
179179 PARAMETERS
180180 svch - OCI service handle
181181 errh - OCI error handle
@@ -187,14 +187,14 @@ unsigned int Lob::chunkSize(DpiHandle *svch, DpiHandle *errh,
187187 nothing
188188
189189 NOTES
190-
190+
191191*/
192-
192+
193193unsigned long long Lob::length (DpiHandle *svch, DpiHandle *errh,
194194 Descriptor *lobLocator)
195195{
196196 oraub8 length = 0 ;
197-
197+
198198 ociCall (OCILobGetLength2 ((OCISvcCtx *)svch, (OCIError *)errh,
199199 (OCILobLocator *)lobLocator, (oraub8 *)&length),
200200 (OCIError *)errh);
0 commit comments