Skip to content

TestHarness<TCycle>.CopyToMemory Method ​

Overloads ​

NameDescription
CopyToMemory(UInt16, ReadOnlySpan<Byte>)Copies a span of bytes into memory starting at the specified address.
CopyToMemory(UInt16, IReadOnlyList<Byte>)Copies a sequence of bytes into memory starting at the specified address.

CopyToMemory(UInt16, ReadOnlySpan<Byte>) ​

Copies a span of bytes into memory starting at the specified address.

c#
public virtual void CopyToMemory(ushort address, ReadOnlySpan<Byte> source);

View source

Parameters ​

NameTypeDescription
addressUInt16The starting memory address where the bytes will be copied.
sourceReadOnlySpan<Byte>The bytes to copy into memory.

CopyToMemory(UInt16, IReadOnlyList<Byte>) ​

Copies a sequence of bytes into memory starting at the specified address.

c#
public virtual void CopyToMemory(ushort address, IReadOnlyList<Byte> source);

View source

Parameters ​

NameTypeDescription
addressUInt16The starting memory address where the bytes will be copied.
sourceIReadOnlyList<Byte>The bytes to copy into memory.