Edit

Kongsi melalui


RijndaelManagedTransform.TransformFinalBlock(Byte[], Int32, Int32) Method

Definition

Computes the transformation for the specified region of the specified byte array.

public:
 virtual cli::array <System::Byte> ^ TransformFinalBlock(cli::array <System::Byte> ^ inputBuffer, int inputOffset, int inputCount);
public byte[] TransformFinalBlock (byte[] inputBuffer, int inputOffset, int inputCount);
abstract member TransformFinalBlock : byte[] * int * int -> byte[]
override this.TransformFinalBlock : byte[] * int * int -> byte[]
Public Function TransformFinalBlock (inputBuffer As Byte(), inputOffset As Integer, inputCount As Integer) As Byte()

Parameters

inputBuffer
Byte[]

The input to perform the operation on.

inputOffset
Int32

The offset into the byte array to begin using data from.

inputCount
Int32

The number of bytes in the byte array to use as data.

Returns

Byte[]

The computed transformation.

Implements

Exceptions

The inputBuffer parameter is null.

The value of the inputCount parameter is less than 0.

-or-

The value of the inputCount parameter is grater than the length of inputBuffer parameter.

The value of the inputOffset parameter is negative.

The length of the inputCount parameter is not evenly devisable by input block size.

Applies to

See also