Closed ugenef closed 4 years ago
Following code throws GroBuf.DataCorruptedException: Unexpected end of data exception.
GroBuf.DataCorruptedException: Unexpected end of data
var dictToSerialize = new Dictionary<string, int>() { {"1",1}, {"2",2}, {"42",42} }; var serializer=new Serializer(new AllPropertiesExtractor(), options: GroBufOptions.WriteEmptyObjects); var bytes = serializer.Serialize(dictToSerialize); var deserializedDict = serializer.Deserialize<Dictionary<string, int>>(bytes);
Application uses .Net Core 3.0 preview 7, so error seems like some compatibility trouble. Thanks!
Fix via PR #20
Following code throws
GroBuf.DataCorruptedException: Unexpected end of data
exception.Application uses .Net Core 3.0 preview 7, so error seems like some compatibility trouble. Thanks!