C# 클래스 BaseNcoding.BaseBigN

상속: Base
파일 보기 프로젝트 열기: KvanTTT/BaseNcoding

공개 메소드들

메소드 설명
BaseBigN ( string alphabet, uint blockMaxBitsCount = 64, Encoding encoding = null, bool reverseOrder = false, bool parallel = false, bool maxCompression = false ) : System
Decode ( string data ) : byte[]
Encode ( byte data ) : string

비공개 메소드들

메소드 설명
AddBitsN ( byte data, System.Numerics.BigInteger value, int bitPos, int bitsCount ) : void
BaseBigN ( ) : System
BitsToChars ( char chars, int ind, int count, System.Numerics.BigInteger block ) : void
CharsToBits ( string data, int ind, int count ) : System.Numerics.BigInteger
DecodeBlock ( string src, byte dst, int beginInd, int endInd, int blockBitsCount, int blockCharsCount ) : void
EncodeBlock ( byte src, char dst, int beginInd, int endInd, int blockBitsCount, int blockCharsCount ) : void
GetBitsN ( byte data, int bitPos, int bitsCount ) : System.Numerics.BigInteger
PreparePowN ( int blockCharsCount ) : void

메소드 상세

BaseBigN() 공개 메소드

public BaseBigN ( string alphabet, uint blockMaxBitsCount = 64, Encoding encoding = null, bool reverseOrder = false, bool parallel = false, bool maxCompression = false ) : System
alphabet string
blockMaxBitsCount uint
encoding System.Text.Encoding
reverseOrder bool
parallel bool
maxCompression bool
리턴 System

Decode() 공개 메소드

public Decode ( string data ) : byte[]
data string
리턴 byte[]

Encode() 공개 메소드

public Encode ( byte data ) : string
data byte
리턴 string