public static List <object> Deserialize(byte[] avroBytes, Schema.Schema schema = null) { var result = new List <object>(); var reader = Decoder.OpenReader(new MemoryStream(avroBytes), schema); List <dynamic> readResult = reader.GetEntries().ToList(); foreach (var read in readResult) { result.Add(read); } return(result); }