| synopsis || return value || arguments || prev || next |
virtual bool write( const kdu_byte * buf, int num_bytes)
Java: boolean Write( byte[] buf, int num_bytes)
[Declared in "../coresys/common/kdu_compressed.h"]
This function must be implemented in every derived class. It implements the functionality of a sequential write operation, transferring num_bytes bytes from the supplied buffer to the target.
The system provides its own internal temporary buffering for compressed data to maximize internal access efficiency. For this reason, the virtual write function defined here will usually be called to transfer quite a few bytes at a time.
The function returns true unless the transfer could not be completed for some reason, in which case it returns false.
| top || synopsis || return value || arguments || prev || next |