C# Класс Brunet.Util.Base32

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
alphabet char[]
padding char

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

Метод Описание
Decode ( string ascii ) : byte[]
Encode ( byte binary ) : string
Encode ( byte binary, bool pad ) : string
Encode ( byte binary, int offset, int length, bool pad ) : string
Main ( string args ) : void
ValueFor ( char c ) : int

Защищенные методы

Метод Описание
DecodeBlock ( byte data, int offset, string ascii, int a_off, int encl ) : void
EncodeBlock ( char ascii_out, int ascii_off, byte bin, int offset, int block_length ) : void

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

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

public static Decode ( string ascii ) : byte[]
ascii string
Результат byte[]

DecodeBlock() защищенный статический Метод

protected static DecodeBlock ( byte data, int offset, string ascii, int a_off, int encl ) : void
data byte
offset int
ascii string
a_off int
encl int
Результат void

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

public static Encode ( byte binary ) : string
binary byte
Результат string

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

public static Encode ( byte binary, bool pad ) : string
binary byte
pad bool
Результат string

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

public static Encode ( byte binary, int offset, int length, bool pad ) : string
binary byte
offset int
length int
pad bool
Результат string

EncodeBlock() защищенный статический Метод

protected static EncodeBlock ( char ascii_out, int ascii_off, byte bin, int offset, int block_length ) : void
ascii_out char
ascii_off int
bin byte
offset int
block_length int
Результат void

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

public static Main ( string args ) : void
args string
Результат void

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

public static ValueFor ( char c ) : int
c char
Результат int

Описание свойств

alphabet публичное статическое свойство

public static char[] alphabet
Результат char[]

padding публичное статическое свойство

public static char padding
Результат char