pub fn parse(bytes: &[u8]) -> Result<Codestream<'_>>Expand description
Parse a raw codestream (must start with SOC, end with EOC).
Rejects the JP2 box wrapper (callers pass the bare codestream) and anything
outside the single-component subset with Error::Unsupported.