संपादित करें

इसके माध्यम से साझा किया गया


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

Definition

Transforms the specified region of the specified byte array.

public:
 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[]
Public Function TransformFinalBlock (inputBuffer As Byte(), inputOffset As Integer, inputCount As Integer) As Byte()

Parameters

inputBuffer
Byte[]

The input for which to compute the transform.

inputOffset
Int32

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

inputCount
Int32

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

Returns

Byte[]

The computed transform.

Remarks

TransformFinalBlock is a special function for transforming the last block or a partial block in the stream. It returns a new array that contains the remaining transformed bytes. A new array is returned, because the amount of information returned at the end might be larger than a single block when padding is added.

Applies to

See also