Unsafe
Add<T>(T, Int32)
Add<T>(T, nint)
Add<T>(T, nuint)
Add<T>(Void*, Int32)
AddByteOffset<T>(T, nint)
AddByteOffset<T>(T, nuint)
AreSame<T>(T, T)
As<T>(Object)
As<TFrom, TTo>(TFrom)
AsPointer<T>(T)
AsRef<T>(T)
AsRef<T>(Void*)
BitCast<TFrom, TTo>(TFrom)
ByteOffset<T>(T, T)
Copy<T>(T, Void*)
Copy<T>(Void*, T)
CopyBlock(Byte, Byte, UInt32)
CopyBlock(Void*, Void*, UInt32)
CopyBlockUnaligned(Byte, Byte, UInt32)
CopyBlockUnaligned(Void*, Void*, UInt32)
InitBlock(Byte, Byte, UInt32)
InitBlock(Void*, Byte, UInt32)
InitBlockUnaligned(Byte, Byte, UInt32)
InitBlockUnaligned(Void*, Byte, UInt32)
IsAddressGreaterThan<T>(T, T)
IsAddressLessThan<T>(T, T)
IsNullRef<T>(T)
NullRef<T>()
Read<T>(Void*)
ReadUnaligned<T>(Byte)
ReadUnaligned<T>(Void*)
SizeOf<T>()
SkipInit<T>(T)
Subtract<T>(T, Int32)
Subtract<T>(T, nint)
Subtract<T>(T, nuint)
Subtract<T>(Void*, Int32)
SubtractByteOffset<T>(T, nint)
SubtractByteOffset<T>(T, nuint)
Unbox<T>(Object)
Write<T>(Void*, T)
WriteUnaligned<T>(Byte, T)
WriteUnaligned<T>(Void*, T)
net9.0
namespace System.Runtime.CompilerServices
{
public static class Unsafe
{
public static TTo BitCast<TFrom, TTo>(TFrom source);
}
}
Design Reviews |
|
---|---|
.NET | 8.09.0 |
Information specific to net9.0 | |
Assembly | System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API