pub unsafe fn root_as_schema_unchecked(buf: &[u8]) -> Schema<'_>
Expand description

Assumes, without verification, that a buffer of bytes contains a Schema and returns it.

Safety

Callers must trust the given bytes do indeed contain a valid Schema.