Condividi tramite


FileEncryptionTransform.TransformBlock Method

Definition

Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.

public int TransformBlock (byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset);
abstract member TransformBlock : byte[] * int * int * byte[] * int -> int
override this.TransformBlock : byte[] * int * int * byte[] * int -> int
Public Function TransformBlock (inputBuffer As Byte(), inputOffset As Integer, inputCount As Integer, outputBuffer As Byte(), outputOffset As Integer) As Integer

Parameters

inputBuffer
Byte[]

The input for which to compute the transform.

inputOffset
Int32

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

inputCount
Int32

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

outputBuffer
Byte[]

The output to which to write the transform.

outputOffset
Int32

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

Returns

The number of bytes written.

Implements

Applies to