OxL Справочник OxL
РусскийEnglish

const oxl

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

Example:

oxl✓ проверяется в CI
use std.ser { encode, formats }

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

С версии. 1.0.0-beta

Определено в: std/ser/formats/formats.oxl:31

См. также