Skip to content

Z80TestHarness.CopyToMemory Method

Overloads

Name Description
CopyToMemory(UInt16, ReadOnlySpan<Byte>) Copies a span of bytes into the 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 the memory starting at the specified address.

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

View source

Parameters

Name Type Description
address UInt16 The starting address in memory where the bytes will be copied.
source ReadOnlySpan<Byte> The span of bytes to copy into memory.

CopyToMemory(UInt16, IReadOnlyList<Byte>)

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

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

View source

Parameters

Name Type Description
address UInt16 The starting memory address where the bytes will be copied.
source IReadOnlyList<Byte> The sequence of bytes to copy into memory.