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

A hex translator.
Inheritance: ITranslator
ファイルを表示 Open project: nonorganic/dssnet

Public Methods

Method Description
Decode ( byte input, int inOff, int length, byte outBytes, int outOff ) : int

Decode data from a byte array.

Encode ( byte input, int inOff, int length, byte outBytes, int outOff ) : int

Encode some data.

GetDecodedBlockSize ( ) : int

Returns the decoded block size.

GetEncodedBlockSize ( ) : int

Return encoded block size.

Method Details

Decode() public method

Decode data from a byte array.
public Decode ( byte input, int inOff, int length, byte outBytes, int outOff ) : int
input byte The input data array.
inOff int Start position within input data array.
length int The amounty of data to process.
outBytes byte The output data array.
outOff int The position within the output data array to start writing from.
return int

Encode() public method

Encode some data.
public Encode ( byte input, int inOff, int length, byte outBytes, int outOff ) : int
input byte Input data array.
inOff int Start position within input data array.
length int The amount of data to process.
outBytes byte The output data array.
outOff int The offset within the output data array to start writing from.
return int

GetDecodedBlockSize() public method

Returns the decoded block size.
public GetDecodedBlockSize ( ) : int
return int

GetEncodedBlockSize() public method

Return encoded block size.
public GetEncodedBlockSize ( ) : int
return int