Redigera

Dela via


ToBase64Transform.OutputBlockSize Property

Definition

Gets the output block size.

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

Property Value

The size of the output data blocks in bytes.

Implements

Examples

The following code example demonstrates how to call the OutputBlockSize property to create a new byte array with the size of the output block size. This code example is part of a larger example provided for the ToBase64Transform class.

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

Remarks

The output block size for this transformation is 4 bytes.

Applies to

See also