Show / Hide Table of Contents

    Class MapDescriptionSegment

    Class that represents a segment of a map description.

    Inheritance
    System.Object
    System.Buffers.ReadOnlySequenceSegment<System.Byte>
    MapDescriptionSegment
    Inherited Members
    System.Buffers.ReadOnlySequenceSegment<System.Byte>.Memory
    System.Buffers.ReadOnlySequenceSegment<System.Byte>.Next
    System.Buffers.ReadOnlySequenceSegment<System.Byte>.RunningIndex
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Fibula.Map.Contracts
    Assembly: Fibula.Map.Contracts.dll
    Syntax
    public class MapDescriptionSegment : ReadOnlySequenceSegment<byte>

    Constructors

    | Improve this Doc View Source

    MapDescriptionSegment(ReadOnlyMemory<Byte>)

    Initializes a new instance of the MapDescriptionSegment class.

    Declaration
    public MapDescriptionSegment(ReadOnlyMemory<byte> memory)
    Parameters
    Type Name Description
    System.ReadOnlyMemory<System.Byte> memory

    The memory to define for this segment.

    Methods

    | Improve this Doc View Source

    Append(MapDescriptionSegment)

    Appends the given MapDescriptionSegment to another.

    Declaration
    public void Append(MapDescriptionSegment nextSegment)
    Parameters
    Type Name Description
    MapDescriptionSegment nextSegment

    A reference to the next segment.

    | Improve this Doc View Source

    Append(ReadOnlyMemory<Byte>)

    Appends the given memory bytes by pointing System.Buffers.ReadOnlySequenceSegment<T>.Next to a new MapDescriptionSegment.

    Declaration
    public MapDescriptionSegment Append(ReadOnlyMemory<byte> mem)
    Parameters
    Type Name Description
    System.ReadOnlyMemory<System.Byte> mem

    The memory bytes to append.

    Returns
    Type Description
    MapDescriptionSegment

    The new instance of MapDescriptionSegment, pointing to the segment after this one.

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.