Search Results for

    Show / Hide Table of Contents

    Class ByteArraySerializer

    Inheritance
    object
    ByteArraySerializer
    Implements
    ISerializer<Memory<byte>>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Serializers
    Assembly: ZoneTree.dll
    Syntax
    public sealed class ByteArraySerializer : ISerializer<Memory<byte>>

    Methods

    | Improve this Doc View Source

    Deserialize(Memory<byte>)

    Deserialize the bytes into entry type.

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

    The bytes to be deserialized.

    Returns
    Type Description
    Memory<byte>

    The deserialized entry.

    | Improve this Doc View Source

    Serialize(in Memory<byte>)

    Serialize the entry into byte array.

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

    The entry

    Returns
    Type Description
    Memory<byte>

    The serialized bytes.

    Implements

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