encode_binary_schema

Function encode_binary_schema 

Source
pub fn encode_binary_schema(schema: &Schema) -> Result<Vec<u8>, KiwiError>
Expand description

Encode a Schema into bytes. Returns Err(KiwiError::EncodeError) if any field’s type is invalid.