Comments (2)
Even easier
using (var ms1 = new MemoryStream())
{
BinaronConvert.Serialize<int?>(1, ms1);
using (var ms2 = new MemoryStream(ms1.ToArray()))
{
var cr2 = BinaronConvert.Deserialize<int?>(ms2);
//cr2 == 0
;
}
}
from binaron.serializer.
I confirm that it is fixed in the current master
from binaron.serializer.
Related Issues (19)
- Used for Json HOT 1
- Support for IReadOnlyDictionary<string, object> HOT 3
- Problem when working with DateTime type HOT 3
- Guid values HOT 7
- Add support of pure IEnumerable classes (instead of ICollection) HOT 13
- Add support for readonly structures HOT 1
- Null pointer exception when serializing a collection of the objects with a null element HOT 2
- int? property with null value restores as 0 HOT 1
- Cyclic reference HOT 4
- Long -> Int restores as 0 even if the value is in the range of int HOT 2
- include private fields in serialization
- Serialized type '86' is not supported
- Question: Does this library suffer from the same security issues that surround BinaryFormatters in .NET (which are marked as obsolete)?
- DateTimeOffset is not de/serialized HOT 1
- I got an Error when I try to serialize a DataTable
- Deserialization of nullable enumerator values
- Lost specific class types
- Can I use this library for network communication HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binaron.serializer.