avro encoder/decoder implemented using netty byte buf