RijndaelManagedTransform.TransformBlock メソッド

定義

入力バイト配列の指定した領域の変換を計算し、結果の変換を出力バイト配列の指定された領域にコピーします。

public:
 virtual int TransformBlock(cli::array <System::Byte> ^ inputBuffer, int inputOffset, int inputCount, cli::array <System::Byte> ^ outputBuffer, int outputOffset);
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

パラメーター

inputBuffer
Byte[]

操作を実行する入力。

inputOffset
Int32

データの使用を開始する入力バイト配列へのオフセット。

inputCount
Int32

データとして使用する入力バイト配列内のバイト数。

outputBuffer
Byte[]

データを書き込む出力。

outputOffset
Int32

データの書き込みを開始する出力バイト配列へのオフセット。

返品

書き込まれたバイト数。

実装

例外

inputBuffer パラメーターはnull

-または-

outputBuffer パラメーターはnull

入力バッファーの長さが、入力オフセットと入力カウントの合計より小さい。

-または-

inputCount パラメーターの値が 0 以下です。

-または-

inputCount パラメーターの値が、inputBuffer パラメーターの長さを超えています。

-または-

inputCount パラメーターの長さは、入力ブロック サイズによって均等に設定することはできません。

inputOffset パラメーターの値が負の値です。

適用対象

こちらもご覧ください