ByteSpanExtensions.SetInt32 Method
Overloads
SetInt32(Span<Byte>, Int32)
Writes a little-endian Int32 to a span of bytes.
public static void SetInt32(this Span<Byte> bytes, int value);
View source
Parameters
SetInt32(Span<Byte>, Int32, Endian)
Writes an Int32 to a span of bytes using the specified endianness.
public static void SetInt32(this Span<Byte> bytes, int value, Endian endian);
View source
Parameters
| Name |
Type |
Description |
| bytes |
Span<Byte> |
|
| value |
Int32 |
The value to write. |
| endian |
Endian |
The endianness to use. |