Share via


FileEncryptionTransform.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.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Function TransformBlock ( _
    inputBuffer As Byte(), _
    inputOffset As Integer, _
    inputCount As Integer, _
    outputBuffer As Byte(), _
    outputOffset As Integer _
) As Integer
'Usage
Dim instance As FileEncryptionTransform 
Dim inputBuffer As Byte()
Dim inputOffset As Integer 
Dim inputCount As Integer 
Dim outputBuffer As Byte()
Dim outputOffset As Integer 
Dim returnValue As Integer 

returnValue = instance.TransformBlock(inputBuffer, _
    inputOffset, inputCount, outputBuffer, _
    outputOffset)
public int TransformBlock(
    byte[] inputBuffer,
    int inputOffset,
    int inputCount,
    byte[] outputBuffer,
    int outputOffset
)
public:
virtual int TransformBlock(
    array<unsigned char>^ inputBuffer, 
    int inputOffset, 
    int inputCount, 
    array<unsigned char>^ outputBuffer, 
    int outputOffset
) sealed
abstract TransformBlock : 
        inputBuffer:byte[] * 
        inputOffset:int * 
        inputCount:int * 
        outputBuffer:byte[] * 
        outputOffset:int -> int  
override TransformBlock : 
        inputBuffer:byte[] * 
        inputOffset:int * 
        inputCount:int * 
        outputBuffer:byte[] * 
        outputOffset:int -> int
public final function TransformBlock(
    inputBuffer : byte[], 
    inputOffset : int, 
    inputCount : int, 
    outputBuffer : byte[], 
    outputOffset : int
) : int

Parameters

  • inputBuffer
    Type: array<System.Byte[]
    The input for which to compute the transform.
  • inputOffset
    Type: System.Int32
    The offset into the input byte array from which to begin using data.
  • inputCount
    Type: System.Int32
    The number of bytes in the input byte array to use as data.
  • outputBuffer
    Type: array<System.Byte[]
    The output to which to write the transform.
  • outputOffset
    Type: System.Int32
    The offset into the output byte array from which to begin writing data.

Return Value

Type: System.Int32
The number of bytes written.

Implements

ICryptoTransform.TransformBlock(array<Byte[], Int32, Int32, array<Byte[], Int32)

See Also

Reference

FileEncryptionTransform Class

Microsoft.WindowsAzure.MediaServices.Client Namespace