In This Topic
Read specified packet head and found length of each code-block's piece of codewords as well as number of skipped most significant bit-planes.
Syntax
'Declaration
Public Overridable Function readPktHead( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal () As CBlkInfo, _
ByVal () As Integer _
) As Boolean
public virtual bool readPktHead(
int ,
int ,
int ,
int ,
CBlkInfo[] ,
int[]
)
Parameters
- l
- layer index
- r
- Resolution level index
- c
- Component index
- p
- Precinct index
- cbI
- CBlkInfo array of relevant component and resolution level.
- nb
- The number of bytes to read in each tile before reaching output rate (used by truncation mode)
Return Value
True if specified output rate or EOF is reached.
See Also