Method | Description | |
---|---|---|
Consume ( int amount ) : int | ||
Defer ( item ) : void | ||
MemoryStream ( ReadOnlyMemory memory ) : System, |
Initializes a new instance of the MemoryStream{T} class.
|
|
TryConsume ( &item ) : bool | ||
TryLookAhead ( int offset, &item ) : bool | ||
TryPeek ( &item ) : bool |
public MemoryStream ( ReadOnlyMemory memory ) : System, | ||
memory | ReadOnlyMemory | The memory to read from. |
return | System, |
public TryLookAhead ( int offset, &item ) : bool | ||
offset | int | |
return | bool |