| synopsis || arguments || prev || next |
virtual int read( kdu_byte * buf, int num_bytes)
Java: int Read( byte[] buf, int num_bytes)
[Declared in "../apps/compressed_io/mj2.h"]
Used by kdu_codestream to read compressed data from an open image. An error is generated through kdu_error if no image is open when this function is invoked. The function will not read past the data associated with the currently open image. See kdu_compressed_source::read for an explanation.