static class · System.Runtime.InteropServices
Memory
public static class Memory
Raw memory (unsafe code).
- Kind
- static class
- Namespace
- System.Runtime.InteropServices
- Assembly
- System.Core
- Access
- public, static, abstract
- Source file
Interop.ant
Inheritance
- Base classes
-
AnyMemory
Methods
count bytes from source to target (the ranges may overlap).
The first count bytes at left and right compared as unsigned values: negative, zero or positive.
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
Memory as Antril, decompiled from its Larva HIR.
// System.Runtime.InteropServices.Memory — System.Core (decompiled from Larva HIR)
into namespace System.Runtime.InteropServices
{
/// Raw memory (unsafe code).
public static class Memory
{
public:
/// `count` bytes from `source` to `target` (the ranges may overlap).
unsafe extern("mem.copy") Copy(u8* target, u8* source, i64 count);
/// The first `count` bytes at `left` and `right` compared as unsigned values: negative, zero or positive.
unsafe extern("mem.cmp") Compare(u8* left, u8* right, i64 count) : i32;
}
}