16 return new byte[1] { (byte)(
value ? 1 : 0) };
31 byte[]
array =
new byte[2];
48 byte[]
array =
new byte[2];
65 byte[]
array =
new byte[4];
82 byte[]
array =
new byte[8];
100 byte[]
array =
new byte[2];
105 [CLSCompliant(
false)]
116 [CLSCompliant(
false)]
119 byte[]
array =
new byte[4];
124 [CLSCompliant(
false)]
135 [CLSCompliant(
false)]
138 byte[]
array =
new byte[8];
143 [CLSCompliant(
false)]
173 byte[]
array =
new byte[4];
190 byte[]
array =
new byte[8];
213 if (
value.Length < 2)
240 if (
value.Length < 2)
267 if (
value.Length < 4)
294 if (
value.Length < 8)
301 [CLSCompliant(
false)]
308 [CLSCompliant(
false)]
311 if (
value.Length < 2)
318 [CLSCompliant(
false)]
325 [CLSCompliant(
false)]
328 if (
value.Length < 4)
335 [CLSCompliant(
false)]
342 [CLSCompliant(
false)]
345 if (
value.Length < 8)
375 if (
value.Length < 4)
390 if (
value.Length < 8)
428 byte b = readOnlySpan[num++];
431 while (num < readOnlySpan.
Length)
433 b = readOnlySpan[num++];
479 if (
value.Length < 1)
494 return *(
long*)(&
value);
503 return vector.ToScalar();
505 return *(
double*)(&
value);
516 return *(
int*)(&
value);
525 return vector.ToScalar();
527 return *(
float*)(&
value);
533 return *(
short*)(&
value);
543 [CLSCompliant(
false)]
550 [CLSCompliant(
false)]
557 [CLSCompliant(
false)]
564 [CLSCompliant(
false)]
571 [CLSCompliant(
false)]
578 [CLSCompliant(
false)]
static bool TryWriteBytes(Span< byte > destination, long value)
static byte[] GetBytes(short value)
static byte[] GetBytes(float value)
static Half UInt16BitsToHalf(ushort value)
static unsafe float Int32BitsToSingle(int value)
static unsafe Half ToHalf(ReadOnlySpan< byte > value)
static bool TryWriteBytes(Span< byte > destination, ushort value)
static unsafe bool TryWriteBytes(Span< byte > destination, Half value)
static byte[] GetBytes(long value)
static bool TryWriteBytes(Span< byte > destination, int value)
static byte[] GetBytes(char value)
static char ToChar(byte[] value, int startIndex)
static string ToString(byte[] value, int startIndex, int length)
static ushort HalfToUInt16Bits(Half value)
static bool TryWriteBytes(Span< byte > destination, bool value)
static unsafe int SingleToInt32Bits(float value)
static bool TryWriteBytes(Span< byte > destination, char value)
static short ToInt16(ReadOnlySpan< byte > value)
static unsafe double Int64BitsToDouble(long value)
static bool TryWriteBytes(Span< byte > destination, short value)
static long ToInt64(byte[] value, int startIndex)
static ulong DoubleToUInt64Bits(double value)
static byte[] GetBytes(ulong value)
static unsafe long DoubleToInt64Bits(double value)
static uint ToUInt32(byte[] value, int startIndex)
static bool TryWriteBytes(Span< byte > destination, ulong value)
static bool ToBoolean(ReadOnlySpan< byte > value)
static float ToSingle(ReadOnlySpan< byte > value)
static float ToSingle(byte[] value, int startIndex)
static short ToInt16(byte[] value, int startIndex)
static bool TryWriteBytes(Span< byte > destination, double value)
static bool TryWriteBytes(Span< byte > destination, uint value)
static unsafe Half Int16BitsToHalf(short value)
static byte[] GetBytes(uint value)
static readonly bool IsLittleEndian
static ulong ToUInt64(ReadOnlySpan< byte > value)
static byte[] GetBytes(int value)
static int ToInt32(ReadOnlySpan< byte > value)
static string ToString(byte[] value, int startIndex)
static uint ToUInt32(ReadOnlySpan< byte > value)
static Half ToHalf(byte[] value, int startIndex)
static byte[] GetBytes(ushort value)
static unsafe byte[] GetBytes(Half value)
static double ToDouble(byte[] value, int startIndex)
static char ToChar(ReadOnlySpan< byte > value)
static double UInt64BitsToDouble(ulong value)
static ulong ToUInt64(byte[] value, int startIndex)
static ushort ToUInt16(byte[] value, int startIndex)
static double ToDouble(ReadOnlySpan< byte > value)
static string ToString(byte[] value)
static byte[] GetBytes(bool value)
static long ToInt64(ReadOnlySpan< byte > value)
static int ToInt32(byte[] value, int startIndex)
static bool ToBoolean(byte[] value, int startIndex)
static unsafe short HalfToInt16Bits(Half value)
static bool TryWriteBytes(Span< byte > destination, float value)
static uint SingleToUInt32Bits(float value)
static float UInt32BitsToSingle(uint value)
static byte[] GetBytes(double value)
static ushort ToUInt16(ReadOnlySpan< byte > value)
static char ToCharUpper(int value)
static unsafe Vector128< byte > CreateScalarUnsafe(byte value)
static new bool IsSupported
static long ConvertToInt64(Vector128< double > value)
static new bool IsSupported
static int ConvertToInt32(Vector128< double > value)
static string Format(string resourceFormat, object p1)
static string ArgumentOutOfRange_LengthTooLarge
static string ArgumentOutOfRange_GenericPositive
static void ThrowArgumentOutOfRangeException(System.ExceptionArgument argument)
static void ThrowArgumentNullException(string name)
static void ThrowArgumentException(ExceptionResource resource)