Loading...
Select Version
The getBuffer() method returns the record’s record buffer. You can use this to process or provide the content with the help of other classes and methods. Note that manipulations on this record buffer modify the object from which the record buffer originates because this is not a copy of the data. The current length of the data within the record buffer can be determined using the getDataLength() method.
A record buffer can be replaced using the setBuffer() methods. If the user’s buffer which is transferred already contains data, the data length can also be transferred.
With the setDataLength() method users can themselves define the occupancy level of the record buffer. No check is made to see whether the data in the record buffer is useful.