C# 클래스 BusinessCats.Ascii85

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

공개 프로퍼티들

프로퍼티 타입 설명
EnforceMarks bool
LineLength int
PrefixMark string
SuffixMark string

공개 메소드들

메소드 설명
Decode ( string data ) : byte[]

simple Decode with default values

DecodeData ( string s ) : byte[]

Decodes an ASCII85 encoded string into the original binary data

Encode ( byte data ) : string

simple Encode with default values

EncodeData ( byte ba ) : string

Encodes binary data into a plaintext ASCII85 format string

비공개 메소드들

메소드 설명
AppendChar ( StringBuilder sb, char c ) : void
AppendString ( StringBuilder sb, string s ) : void
DecodeBlock ( ) : void
DecodeBlock ( int bytes ) : void
EncodeBlock ( StringBuilder sb ) : void
EncodeBlock ( int count, StringBuilder sb ) : void

메소드 상세

Decode() 공개 정적인 메소드

simple Decode with default values
public static Decode ( string data ) : byte[]
data string
리턴 byte[]

DecodeData() 공개 메소드

Decodes an ASCII85 encoded string into the original binary data
public DecodeData ( string s ) : byte[]
s string ASCII85 encoded string
리턴 byte[]

Encode() 공개 정적인 메소드

simple Encode with default values
public static Encode ( byte data ) : string
data byte
리턴 string

EncodeData() 공개 메소드

Encodes binary data into a plaintext ASCII85 format string
public EncodeData ( byte ba ) : string
ba byte binary data to encode
리턴 string

프로퍼티 상세

EnforceMarks 공개적으로 프로퍼티

Add the Prefix and Suffix marks when encoding, and enforce their presence for decoding
public bool EnforceMarks
리턴 bool

LineLength 공개적으로 프로퍼티

Maximum line length for encoded ASCII85 string; set to zero for one unbroken line.
public int LineLength
리턴 int

PrefixMark 공개적으로 프로퍼티

Prefix mark that identifies an encoded ASCII85 string, traditionally '<~'
public string PrefixMark
리턴 string

SuffixMark 공개적으로 프로퍼티

Suffix mark that identifies an encoded ASCII85 string, traditionally '~>'
public string SuffixMark
리턴 string