Skip to main content

encode_frame

Function encode_frame 

Source
pub fn encode_frame(expr: &Expr) -> Result<BitwiseFrame>
Expand description

Encodes a bare Expr into a BitwiseFrame, without source origins.

This is the plain, canonical form: the smallest byte string for the value, suitable as a content-address input (see crate::canonical_bytes).