System.Runtime.CompilerServices.Unsafe
Contains generic, low-level functionality for manipulating pointers.
Reads a value of type T from the given location.
The type to read.
The location to read from.
An object of type T read from the given location.
Writes a value of type T to the given location.
The type of value to write.
The location to write to.
The value to write.
Copies a value of type T to the given location.
The type of value to copy.
The location to copy to.
A reference to the value to copy.
Copies a value of type T to the given location.
The type of value to copy.
The location to copy to.
A pointer to the value to copy.
Returns a pointer to the given by-ref parameter.
The type of object.
The object whose pointer is obtained.
A pointer to the given value.
Returns the size of an object of the given type parameter.
The type of object whose size is retrieved.
The size of an object of type T.
Casts the given object to the specified type.
The type which the object will be cast to.
The object to cast.
The original object, casted to the given type.
Reinterprets the given location as a reference to a value of type T.
The type of the interpreted location.
The location of the value to reference.
A reference to a value of type T.
Copies bytes from the source address to the destination address.
The destination address to copy to.
The source address to copy from.
The number of bytes to copy.
Initializes a block of memory at the given location with a given initial value.
The address of the start of the memory block to initialize.
The value to initialize the block to.
The number of bytes to initialize.