C# Class Org.BouncyCastle.Utilities.Encoders.Base64Encoder

Inheritance: IEncoder
显示文件 Open project: nonorganic/dssnet

Protected Properties

Property Type Description
decodingTable byte[]
encodingTable byte[]
padding byte

Public Methods

Method Description
Base64Encoder ( ) : System
Decode ( byte data, int off, int length, Stream outStream ) : int
DecodeString ( string data, Stream outStream ) : int
Encode ( byte data, int off, int length, Stream outStream ) : int

Protected Methods

Method Description
InitialiseDecodingTable ( ) : void

Private Methods

Method Description
decodeLastBlock ( Stream outStream, char c1, char c2, char c3, char c4 ) : int
ignore ( char c ) : bool
nextI ( byte data, int i, int finish ) : int
nextI ( string data, int i, int finish ) : int

Method Details

Base64Encoder() public method

public Base64Encoder ( ) : System
return System

Decode() public method

public Decode ( byte data, int off, int length, Stream outStream ) : int
data byte
off int
length int
outStream Stream
return int

DecodeString() public method

public DecodeString ( string data, Stream outStream ) : int
data string
outStream Stream
return int

Encode() public method

public Encode ( byte data, int off, int length, Stream outStream ) : int
data byte
off int
length int
outStream Stream
return int

InitialiseDecodingTable() protected method

protected InitialiseDecodingTable ( ) : void
return void

Property Details

decodingTable protected_oe property

protected byte[] decodingTable
return byte[]

encodingTable protected_oe property

protected byte[] encodingTable
return byte[]

padding protected_oe property

protected byte padding
return byte