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