Skip to main content

decode_frame

Function decode_frame 

Source
pub fn decode_frame(codec: CodecId, bytes: &[u8]) -> Result<(FrameTables, Expr)>
Expand description

Decodes frame bytes into its side FrameTables and bare Expr.

Any source origins carried by the frame are dropped. Decoding is bounded by the default DecodeLimits and fails closed on malformed or oversize input.