Partager via


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
public abstract int GetMaxByteCount (
    int dataCount
)
public:
virtual int GetMaxByteCount (
    int dataCount
) abstract
public abstract int GetMaxByteCount (
    int dataCount
)
public abstract function GetMaxByteCount (
    dataCount : int
) : int

Parameters

  • dataCount
    The number of bytes of data to encode or decode.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003