ByteEncoder.GetMaxByteCount method

When overridden in a derived class, the GetMaxByteCount method returns the maximum number of bytes needed to store the result of encoding or decoding dataCount bytes of raw or encoded data, respectively.

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

Syntax

'Declaration
Public MustOverride Function GetMaxByteCount ( _
    dataCount As Integer _
) As Integer
'Usage
Dim instance As ByteEncoder
Dim dataCount As Integer
Dim returnValue As Integer

returnValue = instance.GetMaxByteCount(dataCount)
public abstract int GetMaxByteCount(
    int dataCount
)

Parameters

  • dataCount
    Type: System.Int32

    The number of bytes of data to encode or decode.

Return value

Type: System.Int32

See also

Reference

ByteEncoder class

ByteEncoder members

Microsoft.Exchange.Data.Mime.Encoders namespace