working example of an AvroType type to schema
working example of an AvroType type to schema, and reading and writing binary io