Метод | Описание | |
---|---|---|
CopyUnmanagedMemory ( |
Copy block of unmanaged memory. This function is required because of the fact that .NET does not provide any way to copy unmanaged blocks, but provides only methods to copy from unmanaged memory to managed memory and vise versa. |
|
CopyUnmanagedMemory ( byte dst, byte src, int count ) : byte* |
Copy block of unmanaged memory. This function is required because of the fact that .NET does not provide any way to copy unmanaged blocks, but provides only methods to copy from unmanaged memory to managed memory and vise versa. |
|
SetUnmanagedMemory ( |
Fill memory region with specified value.
|
|
SetUnmanagedMemory ( byte dst, int filler, int count ) : byte* |
Fill memory region with specified value.
|
Метод | Описание | |
---|---|---|
memcpy ( byte dst, byte src, int count ) : byte* | ||
memset ( byte dst, int filler, int count ) : byte* |
public static CopyUnmanagedMemory ( |
||
dst | Destination pointer. | |
src | Source pointer. | |
count | int | Memory block's length to copy. |
Результат |
public static CopyUnmanagedMemory ( byte dst, byte src, int count ) : byte* | ||
dst | byte | Destination pointer. |
src | byte | Source pointer. |
count | int | Memory block's length to copy. |
Результат | byte* |
public static SetUnmanagedMemory ( |
||
dst | Destination pointer. | |
filler | int | Filler byte's value. |
count | int | Memory block's length to fill. |
Результат |
public static SetUnmanagedMemory ( byte dst, int filler, int count ) : byte* | ||
dst | byte | Destination pointer. |
filler | int | Filler byte's value. |
count | int | Memory block's length to fill. |
Результат | byte* |