ToBase64Transform.OutputBlockSize プロパティ

定義

出力ブロック サイズを取得します。

public:
 property int OutputBlockSize { int get(); };
public int OutputBlockSize { get; }
member this.OutputBlockSize : int
Public ReadOnly Property OutputBlockSize As Integer

プロパティ値

出力データ ブロックのサイズ (バイト単位)。

実装

次のコード例では、 プロパティを OutputBlockSize 呼び出して、出力ブロック サイズのサイズを持つ新しいバイト配列を作成する方法を示します。 このコード例は、ToBase64Transform クラスのために提供されている大規模な例の一部です。

array<Byte>^outputBytes = gcnew array<Byte>(
   base64Transform->OutputBlockSize);
byte[] outputBytes = new byte[base64Transform.OutputBlockSize];
Dim outputBytes(base64Transform.OutputBlockSize) As Byte

注釈

この変換の出力ブロック サイズは 4 バイトです。

適用対象

こちらもご覧ください