Class BooleanSerializer
Implements
Inherited Members
Namespace: Tenray.ZoneTree.Serializers
Assembly: ZoneTree.dll
Syntax
public sealed class BooleanSerializer : ISerializer<bool>
Methods
| Improve this Doc View SourceDeserialize(Memory<byte>)
Deserialize the bytes into entry type.
Declaration
public bool Deserialize(Memory<byte> bytes)
Parameters
Type | Name | Description |
---|---|---|
Memory<byte> | bytes | The bytes to be deserialized. |
Returns
Type | Description |
---|---|
bool | The deserialized entry. |
Serialize(in bool)
Serialize the entry into byte array.
Declaration
public Memory<byte> Serialize(in bool entry)
Parameters
Type | Name | Description |
---|---|---|
bool | entry | The entry |
Returns
Type | Description |
---|---|
Memory<byte> | The serialized bytes. |