* @param bytes Binary-encoded Avro schema entry.
* @return Decoded Avro schema entry.
* @throws java.io.IOException on I/O error.
*/
public static SchemaTableEntry decodeSchemaEntry(final byte[] bytes) throws IOException {
final SchemaTableEntry entry = new SchemaTableEntry();
final Decoder decoder =
DECODER_FACTORY.directBinaryDecoder(new ByteArrayInputStream(bytes), null);
return SCHEMA_ENTRY_READER.read(entry, decoder);
}