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 SourceMapDescriptionSegment(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 SourceAppend(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.  | 
      
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.  |