Share via


Base64Encoder.GetMaxByteCount method

The GetMaxByteCount method returns the maximum number of bytes that are required to store dataCount bytes of binary data after it has been encoded.

Namespace:  Microsoft.Exchange.Data.Mime.Encoders
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Overrides NotOverridable Function GetMaxByteCount ( _
    dataCount As Integer _
) As Integer
'Usage
Dim instance As Base64Encoder
Dim dataCount As Integer
Dim returnValue As Integer

returnValue = instance.GetMaxByteCount(dataCount)
public override sealed int GetMaxByteCount(
    int dataCount
)

Parameters

  • dataCount
    Type: System.Int32

    The number of bytes of binary data to encode.

Return value

Type: System.Int32

See also

Reference

Base64Encoder class

Base64Encoder members

Microsoft.Exchange.Data.Mime.Encoders namespace