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 パラメーターの値が負数です。

適用対象

こちらもご覧ください