Export (0) Print
Expand All

ICryptoTransform.TransformBlock Method

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

[Visual Basic]
Function TransformBlock( _
   ByVal inputBuffer() As Byte, _
   ByVal inputOffset As Integer, _
   ByVal inputCount As Integer, _
   ByVal outputBuffer() As Byte, _
   ByVal outputOffset As Integer _
) As Integer
[C#]
int TransformBlock(
   byte[] inputBuffer,
 int inputOffset,
 int inputCount,
 byte[] outputBuffer,
 int outputOffset
);
[C++]
int TransformBlock(
   unsigned char inputBuffer __gc[],
 int inputOffset,
 int inputCount,
 unsigned char outputBuffer __gc[],
 int outputOffset
);
[JScript]
function TransformBlock(
   inputBuffer : Byte[],
 inputOffset : int,
 inputCount : int,
 outputBuffer : Byte[],
 outputOffset : int
) : int;

Parameters

inputBuffer
The input for which to compute the transform.
inputOffset
The offset into the input byte array from which to begin using data.
inputCount
The number of bytes in the input byte array to use as data.
outputBuffer
The output to which to write the transform.
outputOffset
The offset into the output byte array from which to begin writing data.

Return Value

The number of bytes written.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ICryptoTransform Interface | ICryptoTransform Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2015 Microsoft