pub fn decode_schema(bytes: &[u8]) -> Result<(Schema, Idents), CodecError>
Decodes a schema/ident handshake payload.
Returns CodecError for malformed input.
CodecError