BinaryPrimitives.WriteInt64LittleEndian(Span<Byte>, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes an Int64 into a span of bytes, as little endian.
public:
static void WriteInt64LittleEndian(Span<System::Byte> destination, long value);
public static void WriteInt64LittleEndian(Span<byte> destination, long value);
static member WriteInt64LittleEndian : Span<byte> * int64 -> unit
Public Shared Sub WriteInt64LittleEndian (destination As Span(Of Byte), value As Long)
Parameters
- value
- Int64
The value to write into the span of bytes.
Exceptions
destination
is too small to contain an Int64.
Remarks
Writes exactly 8 bytes to the beginning of the span.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.