[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.PktDecoder.readSOPMarker

readSOPMarker Method

readSOPMarker(int[], int, int, int)

Try to read a SOP marker and check that its sequence number if not out of sequence. If so, an error is thrown.

Declaration
public virtual bool readSOPMarker(int[] nBytes, int p, int c, int r)
Parameters
Type Name Description
int[] nBytes

The number of bytes left to read from each tile

int p

Precinct index

int c

Component index

int r

Resolution level index

Returns
Type Description
bool