Copies the representation of this sub structure to the specified array.

Namespace: SharpAssembler.x86
Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public int CopyTo(
	byte[] target,
	int index
)
Visual Basic
Public Function CopyTo ( _
	target As Byte(), _
	index As Integer _
) As Integer
Visual C++
public:
int CopyTo(
	array<unsigned char>^ target, 
	int index
)

Parameters

target
Type: array<System..::..Byte>[]()[][]
The array to copy to.
index
Type: System..::..Int32
The index at which copying starts.

Return Value

The number of bytes copied.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptiontarget == null
System..::..ArgumentOutOfRangeExceptionindex < 0 || index >= target.Length

Contracts

Requires
target != null
index >= 0 && index < target.Length

See Also