Method WriteTo
| Edit this page View SourceWriteTo(Span<byte>)
Writes the contents of the buffer to a byte span.
Declaration
public void WriteTo(Span<byte> destination)
Parameters
| Type | Name | Description |
|---|---|---|
| Span<byte> | destination | Target byte span. Length must be >= SizeInBytes. |
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if destination is too small. |