Base58EncodingTryEncode - метод

Encode a buffer into a base-encoded representation using pre-allocated buffers.

Definition

Пространство имён: Tessa.Tokens.Encodings
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public bool TryEncode(
	ReadOnlySpan<byte> input,
	Span<char> output,
	out int numCharsWritten
)

Параметры

input  ReadOnlySpanByte
Bytes to encode.
output  SpanChar
Output buffer.
numCharsWritten  Int32
Actual number of characters written to the output.

Возвращаемое значение

Boolean
Whether encoding was successful or not. If false, numCharsWritten will be zero and the content of output will be undefined.

См. также