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() _
)
public MacBinaryHeader (
byte[] bytes
)
public:
MacBinaryHeader (
array<unsigned char>^ bytes
)
public MacBinaryHeader (
byte[] bytes
)
public function MacBinaryHeader (
bytes : byte[]
)
Parameters
- bytes
A valid Mac Binary header.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | The length of bytes is not 128. |
ByteEncoderException | The bytes parameter contains corrupt data. |
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003