C# Class Brunet.Util.Base32

Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Méthodes publiques

Свойство Type Description
alphabet char[]
padding char

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Method Details

Decode() public static méthode

public static Decode ( string ascii ) : byte[]
ascii string
Résultat byte[]

DecodeBlock() protected static méthode

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
Résultat void

Encode() public static méthode

public static Encode ( byte binary ) : string
binary byte
Résultat string

Encode() public static méthode

public static Encode ( byte binary, bool pad ) : string
binary byte
pad bool
Résultat string

Encode() public static méthode

public static Encode ( byte binary, int offset, int length, bool pad ) : string
binary byte
offset int
length int
pad bool
Résultat string

EncodeBlock() protected static méthode

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
Résultat void

Main() public static méthode

public static Main ( string args ) : void
args string
Résultat void

ValueFor() public static méthode

public static ValueFor ( char c ) : int
c char
Résultat int

Property Details

alphabet public_oe static_oe property

public static char[] alphabet
Résultat char[]

padding public_oe static_oe property

public static char padding
Résultat char