C# Class SecurityDriven.Inferno.Extensions.Base32Extensions

Afficher le fichier Open project: sdrapkin/SecurityDriven.Inferno

Méthodes publiques

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

Method Details

FromBase32() public static méthode

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
Résultat byte[]

ToBase32() public static méthode

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

ToBase32() public static méthode

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