BinarySerializer
BinarySerializer copied to clipboard
A declarative serialization framework for controlling formatting of data at the byte and bit level using field bindings, converters, and code.
I have some situations where the format have uint's with 3 bytes, currently is it possible to define an **uint** and deserialize/serialize in 3 byte order? Making stream only to...
I'm in the need of having 24 bit uint, since i can't find a way with current `FieldBitLength(24)` would be super usefull to have `SerializedType.Int3` and `SerializedType.UInt3` as i have...
Hi We are experiencing an issue when using [Reactive] attributes in the ReactiveUI library along with a class we are using BinarySerializer on. ReactiveUI appears to use Fody to inject...
Sometimes i can have unknown padding lenght that i need to skip. I don't find a attribute to by pass this so my proposal: ```C# [SerializeWhile((byte)0)] public List Padding {...
Hi there, similar to #159, BinarySerializer seems to swallow some exceptions under the deserialize procession, if data is not formed correctly. Is there any chance to throw this exception outside?...
When `[SerializeWhen]` evaluates to false, it does not serialize/deserialize the value yet the `MemberSerialized`/`MemberDeserialized` events still get called for the members that have a falsified `[SerializeWhen]`. This is undefined behavior....
Hello, Are there any existing strategies to detect parsing/deserialize errors and to catch at least the most obvious parsing errors? For example, if I'm specifying that the FieldLength should be...
I'm having a problem where i set a field to be **6** and on file is written with **5** Here's the defenition: ```C# /// /// Gets the size of the...
Used a few C#10 features
I often deal with jumps on structures and need to create a new class rather than one and seek in between of serializations, sometimes is usefull to have the field...