pub fn encode_binary_schema(schema: &Schema) -> Result<Vec<u8>, KiwiError>
Encode a Schema into bytes. Returns Err(KiwiError::EncodeError) if any field’s type is invalid.
Schema
Err(KiwiError::EncodeError)