Class InOctetStream
public class InOctetStream : IInOctetStream, IOctetReader
- Inheritance
-
InOctetStream
- Implements
- Extension Methods
Constructors
InOctetStream(byte[])
public InOctetStream(byte[] data)
Parameters
data
byte[]
InOctetStream(int)
protected InOctetStream(int capacity)
Parameters
capacity
int
Properties
Length
public uint Length { get; }
Property Value
Position
public uint Position { get; }
Property Value
RemainingOctetCount
public int RemainingOctetCount { get; }
Property Value
Methods
GetBuffer()
public ReadOnlySpan<byte> GetBuffer()
Returns
ReadOctet()
public byte ReadOctet()
Returns
ReadOctets(int)
public ReadOnlySpan<byte> ReadOctets(int octetCount)
Parameters
octetCount
int
Returns
ReadUint16()
public ushort ReadUint16()
Returns
ReadUint32()
public uint ReadUint32()
Returns
ReadUint64()
public ulong ReadUint64()
Returns
ReadUint8()
public byte ReadUint8()
Returns
ResetAndWrite(ReadOnlySpan<byte>)
protected void ResetAndWrite(ReadOnlySpan<byte> data)
Parameters
data
ReadOnlySpan<byte>
ToString()
public override string ToString()