C# 클래스 Qowaiv.Text.Base32

is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-32 representation.
Codes originates from see http://scottless.com/blog/archive/2014/02/15/base32-encoder-and-decoder-in-c.aspx.
파일 보기 프로젝트 열기: Corniel/Qowaiv

공개 메소드들

메소드 설명
GetBytes ( string s ) : byte[]

Gets the bytes for a given Base32 string.

ToString ( byte bytes ) : string

Represents a byte array as a string.

TryGetBytes ( string s, byte &bytes ) : bool

Tries to get the corresponding bytes of the Base32 string.

메소드 상세

GetBytes() 공개 정적인 메소드

Gets the bytes for a given Base32 string.
/// If the string is not a valid Base32 string. ///
public static GetBytes ( string s ) : byte[]
s string /// The Base32 string ///
리턴 byte[]

ToString() 공개 정적인 메소드

Represents a byte array as a string.
public static ToString ( byte bytes ) : string
bytes byte
리턴 string

TryGetBytes() 공개 정적인 메소드

Tries to get the corresponding bytes of the Base32 string.
public static TryGetBytes ( string s, byte &bytes ) : bool
s string /// The string to convert. ///
bytes byte /// The bytes represented by the Base32 string. ///
리턴 bool