Functions§
- compile_
schema - Compile a textual schema into
(Schema, Vec<u8>)
. ReturnsErr(KiwiError)
if tokenization/parsing/verification fails. - decode_
binary_ schema - Decode a binary schema buffer back into a
Schema
. ReturnsErr(KiwiError)
on any read failure or invalid data. - encode_
binary_ schema - Encode a
Schema
into bytes. ReturnsErr(KiwiError::EncodeError)
if any field’s type is invalid.