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.
This pull request implements #178 which allows to jump to addresses and make use of `stream.Seek()` with `SeekOrigin`. The default behaviour of `FieldOffset` has not changed and then it will...
I am using the BinarySerializer to deserialize a byte array received via network from embedded devices. I need to support several versions which are not compatible. The information about the...
Hi! I'm working on a project where I am trying to handle multiple versions of a binary format natively, so you could for example deserialize conforming to one version and...
Consider the following payload: ``` 00 01 02 03 04 05 00000000 06 00 01 02 03 04 ``` First two bytes indicate the size of the entire payload, not...
Is it possible to use the Crc32 built-in extension to calculate the checksum over a subtype field? For example in this class from PcapNgNet, how can a new field be...
During the serialization, the events OnMemberSerializing, OnMemberSerialized return also the information about the offset of each property inside the stream generated during the serialization ( #67 ). Is it possible...
How can the BinarySerializer be configured, to use a SubtypeFactory instance which needs a constructor with parameters? I have the following scenario in my application. In the first approach, only...
Is it possible to set the FieldAlignment for a whole class (lets say to the value 1 or 2), without having to mark each field of the class with the...
As reported in Issue #216, when using a calculated binding, with a ValueGetter, the getter appears to be evaluted only once when initially converted to a TypeNode. This is unfortunately...
```C# public class Preview { /// /// Gets the image width, in pixels. /// [FieldOrder(0)] public uint ResolutionX { get; set; } = 224; /// /// Gets the operation mark...