Skip to content

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.

public void CopyTo(Span<Byte> memory);

View source

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.

public void CopyTo(Span<Byte> memory, int start);

View source

Parameters

Name Type Description
memory Span<Byte> The destination span.
start Int32 The start position in the destination span.