C# Class Goedel.Utilities.BaseConvert

Mostrar archivo Open project: hallambaker/Mathematical-Mesh

Public Methods

Method Description
FromBase16String ( string Input ) : byte[]
FromBase32String ( string Data ) : byte[]
FromBase64urlString ( string Data ) : byte[]
ToBase16String ( byte data ) : string

Convert the input data to a base16 string.

ToBase16String ( byte data, int Length ) : string

Convert the input data to a base16 string.

ToBase16String ( StringBuilder Builder, byte data, int Length ) : void

Convert the input data to a base16 string.

ToBase32String ( byte data, int Length ) : string

Convert the input data to a base32 string.

ToBase32String ( StringBuilder Builder, byte data, int Length ) : void

Convert the input data to a base32 string.

ToBase32hsString ( byte data, int Length ) : string
ToBase32sString ( byte data, int Length ) : string
ToBase64String ( byte data ) : string
ToBase64String ( byte data, bool Newline ) : string
ToBase64String ( byte data, int Length ) : string
ToBase64String ( byte data, int First, int Length, bool Newline ) : string
ToBase64String ( StringBuilder Builder, byte data, int First, int Length, bool Newline ) : void
ToBase64urlString ( byte data ) : string
ToBase64urlString ( byte data, bool Newline ) : string
ToBase64urlString ( byte data, int Length ) : string
ToBase64urlString ( byte data, int First, int Length, bool Newline ) : string
ToBase64urlString ( StringBuilder Builder, byte data, int First, int Length, bool Newline ) : void
ToUDF ( byte data, int Precision ) : string

Convert a byte array to a UDF fingerprint with the specified precision.

ToUDF32String ( byte data ) : string
ToUDF32String ( byte data, int Length ) : string

Method Details

FromBase16String() public static method

public static FromBase16String ( string Input ) : byte[]
Input string
return byte[]

FromBase32String() public static method

public static FromBase32String ( string Data ) : byte[]
Data string
return byte[]

FromBase64urlString() public static method

public static FromBase64urlString ( string Data ) : byte[]
Data string
return byte[]

ToBase16String() public static method

Convert the input data to a base16 string.
public static ToBase16String ( byte data ) : string
data byte The data to convert.
return string

ToBase16String() public static method

Convert the input data to a base16 string.
public static ToBase16String ( byte data, int Length ) : string
data byte The data to convert.
Length int Number of bytes to convert
return string

ToBase16String() public static method

Convert the input data to a base16 string.
public static ToBase16String ( StringBuilder Builder, byte data, int Length ) : void
Builder StringBuilder StringBuilder to collect the emitted characteres
data byte The data to convert.
Length int Number of bytes to convert
return void

ToBase32String() public static method

Convert the input data to a base32 string.
public static ToBase32String ( byte data, int Length ) : string
data byte The data to convert.
Length int Number of bytes to convert
return string

ToBase32String() public static method

Convert the input data to a base32 string.
public static ToBase32String ( StringBuilder Builder, byte data, int Length ) : void
Builder StringBuilder StringBuilder to collect the emitted characteres
data byte The data to convert.
Length int Number of bytes to convert
return void

ToBase32hsString() public static method

public static ToBase32hsString ( byte data, int Length ) : string
data byte
Length int
return string

ToBase32sString() public static method

public static ToBase32sString ( byte data, int Length ) : string
data byte
Length int
return string

ToBase64String() public static method

public static ToBase64String ( byte data ) : string
data byte
return string

ToBase64String() public static method

public static ToBase64String ( byte data, bool Newline ) : string
data byte
Newline bool
return string

ToBase64String() public static method

public static ToBase64String ( byte data, int Length ) : string
data byte
Length int
return string

ToBase64String() public static method

public static ToBase64String ( byte data, int First, int Length, bool Newline ) : string
data byte
First int
Length int
Newline bool
return string

ToBase64String() public static method

public static ToBase64String ( StringBuilder Builder, byte data, int First, int Length, bool Newline ) : void
Builder StringBuilder
data byte
First int
Length int
Newline bool
return void

ToBase64urlString() public static method

public static ToBase64urlString ( byte data ) : string
data byte
return string

ToBase64urlString() public static method

public static ToBase64urlString ( byte data, bool Newline ) : string
data byte
Newline bool
return string

ToBase64urlString() public static method

public static ToBase64urlString ( byte data, int Length ) : string
data byte
Length int
return string

ToBase64urlString() public static method

public static ToBase64urlString ( byte data, int First, int Length, bool Newline ) : string
data byte
First int
Length int
Newline bool
return string

ToBase64urlString() public static method

public static ToBase64urlString ( StringBuilder Builder, byte data, int First, int Length, bool Newline ) : void
Builder StringBuilder
data byte
First int
Length int
Newline bool
return void

ToUDF() public static method

Convert a byte array to a UDF fingerprint with the specified precision.
public static ToUDF ( byte data, int Precision ) : string
data byte The data to take the fingerprint of.
Precision int The precision in multiples of 25 bits.
return string

ToUDF32String() public static method

public static ToUDF32String ( byte data ) : string
data byte
return string

ToUDF32String() public static method

public static ToUDF32String ( byte data, int Length ) : string
data byte
Length int
return string