Base58EncodingGetSafeCharCountForEncoding - метод
Safe estimation about how many characters encoding a buffer will take.
Пространство имён: Tessa.Tokens.EncodingsСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public int GetSafeCharCountForEncoding(
ReadOnlySpan<byte> bytes
)
Public Function GetSafeCharCountForEncoding (
bytes As ReadOnlySpan(Of Byte)
) As Integer
public:
int GetSafeCharCountForEncoding(
ReadOnlySpan<unsigned char> bytes
)
member GetSafeCharCountForEncoding :
bytes : ReadOnlySpan<byte> -> int
- bytes ReadOnlySpanByte
- Bytes to be encoded.
Int32Number of estimated characters, or zero if the input length is invalid.