ReadChunk Method

Applies To

OraField Object


Returns a String containing the bytes of all or a portion of a LONG or LONG RAW field.


data_string = orafield.ReadChunk(offset, numbytes, bytesread) 


The arguments for the method are:

Arguments Description
offset The number of bytes in the field to skip before copying data.
numbytes The number of bytes to copy.
bytesread The number of bytes read.


The ReadChunk method behaves like the GetChunk method, but it returns the actual number of bytes read in the bytesread argument.