System.Runtime.CompilerServices.Unsafe
Contains generic, low-level functionality for manipulating pointers.
Adds an element offset to the given reference.
The reference to add the offset to.
The offset to add.
The type of reference.
A new reference that reflects the addition of offset to pointer.
Adds an element offset to the given reference.
The reference to add the offset to.
The offset to add.
The type of reference.
A new reference that reflects the addition of offset to pointer.
Adds a byte offset to the given reference.
The reference to add the offset to.
The offset to add.
The type of reference.
A new reference that reflects the addition of byte offset to pointer.
Determines whether the specified references point to the same location.
The first reference to compare.
The second reference to compare.
The type of reference.
true if left and right point to the same location; otherwise, false.
Casts the given object to the specified type.
The object to cast.
The type which the object will be cast to.
The original object, casted to the given type.
Reinterprets the given reference as a reference to a value of type TTo.
The reference to reinterpret.
The type of reference to reinterpret..
The desired type of the reference.
A reference to a value of type TTo.
Returns a pointer to the given by-ref parameter.
The object whose pointer is obtained.
The type of object.
A pointer to the given value.
Reinterprets the given location as a reference to a value of type T.
The location of the value to reference.
The type of the interpreted location.
A reference to a value of type T.
Determines the byte offset from origin to target from the given references.
The reference to origin.
The reference to target.
The type of reference.
Byte offset from origin to target i.e. target - origin.
Copies a value of type T to the given location.
The location to copy to.
A reference to the value to copy.
The type of value to copy.
Copies a value of type T to the given location.
The location to copy to.
A pointer to the value to copy.
The type of value to copy.
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.
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.
Copies bytes from the source address to the destination address
without assuming architecture dependent alignment of the addresses.
The destination address to copy to.
The source address to copy from.
The number of bytes to copy.
Copies bytes from the source address to the destination address
without assuming architecture dependent alignment of the addresses.
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.
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.
Initializes a block of memory at the given location with a given initial value
without assuming architecture dependent alignment of the address.
The address of the start of the memory block to initialize.
The value to initialize the block to.
The number of bytes to initialize.
Initializes a block of memory at the given location with a given initial value
without assuming architecture dependent alignment of the address.
The address of the start of the memory block to initialize.
The value to initialize the block to.
The number of bytes to initialize.
Reads a value of type T from the given location.
The location to read from.
The type to read.
An object of type T read from the given location.
Reads a value of type T from the given location
without assuming architecture dependent alignment of the addresses.
The location to read from.
The type to read.
An object of type T read from the given location.
Reads a value of type T from the given location
without assuming architecture dependent alignment of the addresses.
The location to read from.
The type to read.
An object of type T read from the given location.
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.
Subtracts an element offset from the given reference.
The reference to subtract the offset from.
The offset to subtract.
The type of reference.
A new reference that reflects the subraction of offset from pointer.
Subtracts an element offset from the given reference.
The reference to subtract the offset from.
The offset to subtract.
The type of reference.
A new reference that reflects the subraction of offset from pointer.
Subtracts a byte offset from the given reference.
The reference to subtract the offset from.
The type of reference.
A new reference that reflects the subraction of byte offset from pointer.
Writes a value of type T to the given location.
The location to write to.
The value to write.
The type of value to write.
Writes a value of type T to the given location
without assuming architecture dependent alignment of the addresses.
The location to write to.
The value to write.
The type of value to write.
Writes a value of type T to the given location
without assuming architecture dependent alignment of the addresses.
The location to write to.
The value to write.
The type of value to write.