Base58EncodingGetSafeCharCountForEncoding - метод

Safe estimation about how many characters encoding a buffer will take.

Definition

Пространство имён: Tessa.Tokens.Encodings
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public int GetSafeCharCountForEncoding(
	ReadOnlySpan<byte> bytes
)

Параметры

bytes  ReadOnlySpanByte
Bytes to be encoded.

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

Int32
Number of estimated characters, or zero if the input length is invalid.

См. также