IOFileComponent.AsSpan Method
Overloads
| Name | Description |
|---|---|
AsSpan() | Returns the data as a writable span. |
AsSpan(Int32) | Returns the data as a writable span starting at the specified index. |
AsSpan(Index) | Returns the data as a writable span starting at the specified index. |
AsSpan()
Returns the data as a writable span.
c#
protected Span<Byte> AsSpan();Returns
A span over the data.
AsSpan(Int32)
Returns the data as a writable span starting at the specified index.
c#
protected Span<Byte> AsSpan(int start);Parameters
| Name | Type | Description |
|---|---|---|
start | Int32 | The start index. |
Returns
A span over the data from the specified index.
AsSpan(Index)
Returns the data as a writable span starting at the specified index.
c#
protected Span<Byte> AsSpan(Index startIndex);Parameters
| Name | Type | Description |
|---|---|---|
startIndex | Index | The start index. |
Returns
A span over the data from the specified index.