HeaderDecoder Constructor
In This Topic
Creates a HeaderDecoder instance and read in two passes the main header of the codestream. The first and last marker segments shall be respectively SOC and SOT.
Syntax
Parameters
- ehs
- The encoded header stream where marker segments are extracted.
- pl
- The ParameterList object of the decoder
- hi
- The HeaderInfo holding information found in marker segments
Exceptions
Exception | Description |
IOException | If an I/O error occurs while reading from the
encoded header stream.
|
EOFException | If the end of the encoded header stream is
reached before getting all the data.
|
CSJ2K.j2k.codestream.CorruptedCodestreamException | If invalid data is found in the
codestream main header.
|
See Also