Method MoveMemoryWithInvertEndian16
MoveMemoryWithInvertEndian16(void*, void*, uint, bool)
Copies bytes from the source address to the destination address in reversed 2-byte chunks.
Declaration
public static void MoveMemoryWithInvertEndian16(void* dest, void* src, uint size, bool swap)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | dest | The unmanaged pointer corresponding to the destination address to copy to. |
| void* | src | The unmanaged pointer corresponding to the source address to copy from. |
| uint | size | The number of bytes to copy. |
| bool | swap | Whether to swap the source address and destination address. |
MoveMemoryWithInvertEndian16(ushort*, ushort*, uint)
Copies bytes from the source address to the destination address in reversed 2-byte chunks.
Declaration
public static void MoveMemoryWithInvertEndian16(ushort* dest, ushort* src, uint size)
Parameters
| Type | Name | Description |
|---|---|---|
| ushort* | dest | The unmanaged pointer corresponding to the destination address to copy to. |
| ushort* | src | The unmanaged pointer corresponding to the source address to copy from. |
| uint | size | The number of bytes to copy. |