/// <summary> /// Deserializes AVRO object, which does not contain header, to .NET type /// </summary> public static T DeserializeHeadless <T>(byte[] avroBytes, string schema) { Schema.Schema avroSchema = Schema.Schema.Parse(schema); var reader = new Reader(new MemoryStream(avroBytes)); var resolver = new Resolver(avroSchema, avroSchema); var result = resolver.Resolve <T>(reader, 1); return(result); }