C# 클래스 Brunet.Util.Base32

파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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