ToBase64Transform.OutputBlockSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.