C# Класс SecurityDriven.Inferno.Extensions.Base32Extensions

Показать файл Открыть проект

Открытые методы

Метод Описание
FromBase32 ( this str32, Base32Config config = null ) : byte[]

Converts a Base32-encoded string into equivalent byte array. Does not validate Base32 encoding correctness.

ToBase32 ( this binary, Base32Config config = null ) : string

Converts a byte array into equivalent Base32-encoded string.

Binary array length must be a multiple of 5.

ToBase32 ( this binarySegment, Base32Config config = null ) : string

Converts a byte array segment into equivalent Base32-encoded string.

Binary segment length must be a multiple of 5.

Описание методов

FromBase32() публичный статический Метод

Converts a Base32-encoded string into equivalent byte array. Does not validate Base32 encoding correctness.
public static FromBase32 ( this str32, Base32Config config = null ) : byte[]
str32 this
config Base32Config
Результат byte[]

ToBase32() публичный статический Метод

Converts a byte array into equivalent Base32-encoded string.
Binary array length must be a multiple of 5.
public static ToBase32 ( this binary, Base32Config config = null ) : string
binary this
config Base32Config
Результат string

ToBase32() публичный статический Метод

Converts a byte array segment into equivalent Base32-encoded string.
Binary segment length must be a multiple of 5.
public static ToBase32 ( this binarySegment, Base32Config config = null ) : string
binarySegment this
config Base32Config
Результат string