Skip to main content

decode_located_frame

Function decode_located_frame 

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

Decodes frame bytes into its side FrameTables and a LocatedExpr.

The top-level origin is recovered when the frame carries one. Decoding is bounded by the default DecodeLimits and fails closed on bad input.