OxL Reference

const oxl

The OxL binary format (protobuf 3 wire encoding, §9.3); the default of encode / decode.

Example:

oxl✓ checked in CI
use std.ser { encode, formats }

fn main() io {
  print("{encode(&5, formats.oxl)!.len()}")
}
Output
2
pub(api) const oxl: Format = Format.Oxl

Since. 1.0.0-beta

Defined in: std/ser/formats/formats.oxl:31

See also