You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I serialized a SortedList<long,float?> with the follow code:
var data = new SortedList<long, float?>();
//.. code to populate data
using (var fs = new FileStream(filepath, FileMode.Create))
{
await MemoryPackSerializer.SerializeAsync(fs, data);
}
However, when I deserizalised it, the values in the sorted list are incorrect.
using (var readStream = new FileStream(filepath, FileMode.Open))
{
results = await MemoryPackSerializer.DeserializeAsync<SortedList<long, float?>>(readStream);
}
The same problem seems to happens with SortedList<long,double?>
Am I doing anything incorrectly which may have caused this?
Thanks!
The text was updated successfully, but these errors were encountered:
I serialized a SortedList<long,float?> with the follow code:
However, when I deserizalised it, the values in the sorted list are incorrect.
The same problem seems to happens with SortedList<long,double?>
Am I doing anything incorrectly which may have caused this?
Thanks!
The text was updated successfully, but these errors were encountered: