IOFileComponent.CopyTo Method
Overloads
| Name | Description |
|---|---|
CopyTo(Span<Byte>) | Copies the data to the specified memory span. |
CopyTo(Span<Byte>, Int32) | Copies the data to the specified memory span at the given start position. |
CopyTo(Span<Byte>)
Copies the data to the specified memory span.
c#
public void CopyTo(Span<Byte> memory);Parameters
| Name | Type | Description |
|---|---|---|
memory | Span<Byte> | The destination span. |
CopyTo(Span<Byte>, Int32)
Copies the data to the specified memory span at the given start position.
c#
public void CopyTo(Span<Byte> memory, int start);Parameters
| Name | Type | Description |
|---|---|---|
memory | Span<Byte> | The destination span. |
start | Int32 | The start position in the destination span. |