§9. Serialisation
In this chapter
| 9.1 Serializable | data and enum automatically implement Serializable if all their fields are serialisable. |
| 9.2 Field numbers and schema | Every field of a data and every variant of an enum has a stable tag (the number in the wire format). |
| 9.3 The OxL wire format | The OxL binary format is protobuf 3 encoding with the following mappings |
| 9.4 Decoding and validation | A missing required field → DecodeError.Missing. |
| 9.5 User-defined serialisers | Level 1 — representation through another type (Repr), acts in all formats and in schemas |
| 9.6 Zero-copy views | decode_view<T>(buf |
Source: docs/spec/oxl-standard.en.md