pub fn load_isl_type(bytes: &[u8]) -> IonSchemaResult<IslType>
Expand description

Loads an IslType using the bytes that represent an ISL type definition. Returns an error if the given bytes representation is syntactically incorrect as per Ion Schema specification’s grammar.

Note: This method allows loading both named and anonymous definition.