Search Results for

    Show / Hide Table of Contents

    Interface ISerializer<TEntry>

    Generic Serializer interface for any type.

    Namespace: Tenray.ZoneTree.Serializers
    Assembly: ZoneTree.dll
    Syntax
    public interface ISerializer<TEntry>
    Type Parameters
    Name Description
    TEntry

    Methods

    | Improve this Doc View Source

    Deserialize(Memory<byte>)

    Deserialize the bytes into entry type.

    Declaration
    TEntry Deserialize(Memory<byte> bytes)
    Parameters
    Type Name Description
    Memory<byte> bytes

    The bytes to be deserialized.

    Returns
    Type Description
    TEntry

    The deserialized entry.

    | Improve this Doc View Source

    Serialize(in TEntry)

    Serialize the entry into byte array.

    Declaration
    Memory<byte> Serialize(in TEntry entry)
    Parameters
    Type Name Description
    TEntry entry

    The entry

    Returns
    Type Description
    Memory<byte>

    The serialized bytes.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io