| synopsis || arguments || prev || next |

mj2_video_source::read

Java: Mj2_video_source::Read

virtual int read( kdu_byte * buf, int num_bytes)

Java: int Read( byte[] buf, int num_bytes)

Overrides kdu_compressed_source::read

[Declared in "../apps/compressed_io/mj2.h"]

Go to class description.


Synopsis

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.


Arguments

buf [kdu_byte *]

num_bytes [int]


| top || synopsis || arguments || prev || next |