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 want IBinarySerializable interface for serialising custom values. In this special I wants serialise the IPAddess and IPEndoint to a binary message. I'm added you an example which generates the...
Hi , Internally I have a class with a string property and a type property. the string value is coming from a json file and can contain generic numeric value...
Right now, when a boolean array is serialized, every boolean is written to a byte, even though only one bit of the byte is ever used, leading to a waste...
```C# public class LayerDefinition { public const string SectionMark = "LAYERDEF"; [FieldOrder(0)] public Section Section { get; set; } [FieldOrder(1)] public uint LayersCount { get; set; } [FieldOrder(2)] [FieldCount(nameof(LayersCount))] public...
I'm getting a very stange behaviour where my serialize is put twice the content of the class into file. I search and try some alternatives but without success. Sometimes it...
Hello! Feeding garbage bytes to a deserialize operation of an object containing ItemSubType entries seems to "hang" the deserialize operation when ItemSubtypeDefault attribute is not specified. In reality, it appears...
Hello! BinarySerializer seems to be swallowing some exceptions (at least IOException types) and just setting the current child object being deserialized to null without any indication of an error. As...
Hello! We receive messages where message headers are not encrypted and the payload is optionally encrypted. Whether the message is encrypted is indicated in the message header: ``` public class...
would it be possible to add an ItemBitLength and an ItemScale attribute in a similar way to what currently happens with FildBitLength and FieldScale? The new attributes should be applied...
Why classes that are not byte-aligned their remaining bits are dropped? There are situations where some class are not byte-aligned by nature. This is not the case before version 8.3.1....