Process a block.
Namespace: Org.BouncyCastle.CryptoAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
int ProcessBlock( byte[] inBuf, int inOff, byte[] outBuf, int outOff ) |
Visual Basic |
---|
Function ProcessBlock ( _ inBuf As Byte(), _ inOff As Integer, _ outBuf As Byte(), _ outOff As Integer _ ) As Integer |
Visual C++ |
---|
int ProcessBlock( array<unsigned char>^ inBuf, int inOff, array<unsigned char>^ outBuf, int outOff ) |
Parameters
- inBuf
- Type: array<System..::..Byte>[]()[][]
The input buffer.
- inOff
- Type: System..::..Int32
The offset into that the input block begins.
- outBuf
- Type: array<System..::..Byte>[]()[][]
The output buffer.
- outOff
- Type: System..::..Int32
The offset into to write the output block.
Return Value
The number of bytes processed and produced.
Exceptions
Exception | Condition |
---|---|
Org.BouncyCastle.Crypto..::..DataLengthException | If input block is wrong size, or outBuf too small. |