Skip to main content

open

Function open 

Source
pub fn open(bytes: &[u8]) -> Result<(Option<Arc<Decoder>>, &[u8]), DecodeError>
Expand description

Split a stream: (Some(decoder), inner TCG3) for TCS1, (None, bytes) otherwise.