Base58EncodingTryEncode - метод
Encode a buffer into a base-encoded representation using pre-allocated buffers.
Пространство имён: Tessa.Tokens.EncodingsСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public bool TryEncode(
ReadOnlySpan<byte> input,
Span<char> output,
out int numCharsWritten
)
Public Function TryEncode (
input As ReadOnlySpan(Of Byte),
output As Span(Of Char),
<OutAttribute> ByRef numCharsWritten As Integer
) As Boolean
public:
bool TryEncode(
ReadOnlySpan<unsigned char> input,
Span<wchar_t> output,
[OutAttribute] int% numCharsWritten
)
member TryEncode :
input : ReadOnlySpan<byte> *
output : Span<char> *
numCharsWritten : int byref -> bool
- input ReadOnlySpanByte
- Bytes to encode.
- output SpanChar
- Output buffer.
- numCharsWritten Int32
- Actual number of characters written to the output.
BooleanWhether encoding was successful or not. If false,
numCharsWritten
will be zero and the content of
output will be undefined.