Class ByteArrayInputBytes
Input bytes from a byte array.
public class ByteArrayInputBytes : IInputBytes, IDisposable
- Inheritance
-
ByteArrayInputBytes
- Implements
- Inherited Members
Constructors
ByteArrayInputBytes(byte[])
Create a new ByteArrayInputBytes.
public ByteArrayInputBytes(byte[] bytes)
Parameters
bytes
byte[]
ByteArrayInputBytes(IReadOnlyList<byte>)
Create a new ByteArrayInputBytes.
public ByteArrayInputBytes(IReadOnlyList<byte> bytes)
Parameters
bytes
IReadOnlyList<byte>
Properties
CurrentByte
public byte CurrentByte { get; }
Property Value
CurrentOffset
public long CurrentOffset { get; }
Property Value
Length
public long Length { get; }
Property Value
Methods
Dispose()
public void Dispose()
IsAtEnd()
public bool IsAtEnd()
Returns
MoveNext()
public bool MoveNext()
Returns
Peek()
public byte? Peek()
Returns
- byte?
Read(byte[], int?)
public int Read(byte[] buffer, int? length = null)
Parameters
Returns
Seek(long)
public void Seek(long position)
Parameters
position
long