createInstance Method (BitstreamReaderAgent)
In This Topic
Creates a bit stream reader of the correct type that works on the provided RandomAccessIO, with the special parameters from the parameter list.
Syntax
Parameters
- in_Renamed
- hd
- Header of the codestream.
- pl
- The parameter list containing parameters applicable to the bit stream read (other parameters may also be present).
- decSpec
- The decoder specifications
- cdstrInfo
- Whether or not to print information found in codestream.
- hi
- Reference to the HeaderInfo instance.
Exceptions
Exception | Description |
IOException | If an I/O error occurs while reading initial
data from the bit stream.
|
IllegalArgumentException | If an unrecognised bit stream
reader option is present.
|
See Also