Share via


BinHexEncoder.GetMaxByteCount method

The GetMaxByteCount method returns the maximum number of bytes that are needed to store dataCount bytes of data after it has been BinHex-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 BinHexEncoder
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 to BinHex encode.

Return value

Type: System.Int32

See also

Reference

BinHexEncoder class

BinHexEncoder members

Microsoft.Exchange.Data.Mime.Encoders namespace