Share via


MacBinaryHeader constructor (Byte[])

The MacBinaryHeader constructor constructs a new MacBinaryHeader object from a valid Mac Binary header contained in the bytes parameter.

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

Syntax

'Declaration
Public Sub New ( _
    bytes As Byte() _
)
'Usage
Dim bytes As Byte()

Dim instance As New MacBinaryHeader(bytes)
public MacBinaryHeader(
    byte[] bytes
)

Parameters

  • bytes
    Type: []

    A valid Mac Binary header.

Exceptions

Exception Condition
ArgumentException

The length of bytes is not 128.

ByteEncoderException

The bytes parameter contains corrupt data.

See also

Reference

MacBinaryHeader class

MacBinaryHeader members

MacBinaryHeader overload

Microsoft.Exchange.Data.Mime.Encoders namespace