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

A class that allows encoding of data using a specific encoder to be processed in chunks.
Afficher le fichier Open project: nonorganic/dssnet

Méthodes publiques

Méthode Description
BufferedEncoder ( ITranslator translator, int bufferSize ) : System

Create.

ProcessByte ( byte input, byte outBytes, int outOff ) : int

Process one byte of data.

ProcessBytes ( byte input, int inOff, int len, byte outBytes, int outOff ) : int

Process data from a byte array.

Method Details

BufferedEncoder() public méthode

Create.
public BufferedEncoder ( ITranslator translator, int bufferSize ) : System
translator ITranslator The translator to use.
bufferSize int Size of the chunks.
Résultat System

ProcessByte() public méthode

Process one byte of data.
public ProcessByte ( byte input, byte outBytes, int outOff ) : int
input byte The byte.
outBytes byte An array to store output in.
outOff int Offset within output array to start writing from.
Résultat int

ProcessBytes() public méthode

Process data from a byte array.
public ProcessBytes ( byte input, int inOff, int len, byte outBytes, int outOff ) : int
input byte Input data Byte array containing data to be processed.
inOff int Start position within input data array.
len int Amount of input data to be processed.
outBytes byte Output data array.
outOff int Offset within output data array to start writing to.
Résultat int