SByte.IBinaryInteger<SByte>.TryWriteBigEndian Method

Definition

Tries to write the current value, in big-endian format, to a given span.

bool IBinaryInteger<sbyte>.TryWriteBigEndian (Span<byte> destination, out int bytesWritten);

Parameters

destination
Span<Byte>

The span to which the current value should be written.

bytesWritten
Int32

When this method returns, contains the number of bytes written to destination.

Returns

true if the value was succesfully written to destination; otherwise, false.

Implements

Applies to

Продукт Версии
.NET 7, 8, 9