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