Base64GetEncodedLength Method
Calculates the exact output length of Base64-encoded data from the input
length of the data to be encoded.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
public static int GetEncodedLength(
int length
)
Public Shared Function GetEncodedLength (
length As Integer
) As Integer
public:
static int GetEncodedLength(
int length
)
static member GetEncodedLength :
length : int -> int
- length Int32
- The number of Bytes to convert to Base64
format.
Int32The number of characters of the Base64-encoded output when
length Bytes are encoded.
Any line breaks that might have to be inserted into the encoded output are
not included in the calculation.