Purpose
Read binary data from a field
Parameters
liOffset | A long that is the number of bytes to skip before copying begins |
liBytes | A long that is the number of bytes you want to return. |
Remarks
GetChunk returns a usual whose type is set to the type of the accessed field. Use GetChunk to return a portion of the total data value at a time. You can use the AppendChunk method to reassemble the pieces.
If liOffset is 0, GetChunk begins copying from the first byte of the field.
If liBytes is greater than the number of bytes in the field, GetChunk returns the actual number of remaining bytes in the field.
Class
Example