C# 클래스 Org.BouncyCastle.Utilities.Encoders.BufferedDecoder

A buffering class to allow translation from one format to another to be done in discrete chunks.
파일 보기 프로젝트 열기: nonorganic/dssnet

공개 메소드들

메소드 설명
BufferedDecoder ( ITranslator translator, int bufferSize ) : System

Create a buffered Decoder.

ProcessByte ( byte input, byte output, 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.

메소드 상세

BufferedDecoder() 공개 메소드

Create a buffered Decoder.
public BufferedDecoder ( ITranslator translator, int bufferSize ) : System
translator ITranslator The translater to use.
bufferSize int The size of the buffer.
리턴 System

ProcessByte() 공개 메소드

Process one byte of data.
public ProcessByte ( byte input, byte output, int outOff ) : int
input byte Data in.
output byte Byte array for the output.
outOff int The offset in the output byte array to start writing from.
리턴 int

ProcessBytes() 공개 메소드

Process data from a byte array.
public ProcessBytes ( byte input, int inOff, int len, byte outBytes, int outOff ) : int
input byte The input data.
inOff int Start position within input data array.
len int Amount of data to process from input data array.
outBytes byte Array to store output.
outOff int Position in output array to start writing from.
리턴 int