# OutlookTimeZoneBinary

MS-OXOCAL time-zone definition and legacy structure reader/writer.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OutlookTimeZoneBinary.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZoneBinary.cs#L10)

**Modifiers**

static

MS-OXOCAL time-zone definition and legacy structure reader/writer.

## Inheritance

- object
- OutlookTimeZoneBinary

Filter members 

Show inherited

## Methods

`public static OutlookTimeZoneDefinition DecodeDefinition(byte[] bytes)` [#](#method-decodedefinition-byte)

[OutlookTimeZoneBinary.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZoneBinary.cs#L10)

Decodes a TZDEFINITION while retaining unsupported or malformed input losslessly.

Parameters

**bytes byte[] required**

Returns

`OutlookTimeZoneDefinition`

`public static OutlookTimeZoneStructure DecodeStructure(byte[] bytes)` [#](#method-decodestructure-byte)

[OutlookTimeZoneBinary.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZoneBinary.cs#L69)

Decodes PidLidTimeZoneStruct while retaining malformed input losslessly.

Parameters

**bytes byte[] required**

Returns

`OutlookTimeZoneStructure`

`public static byte[] EncodeDefinition(OutlookTimeZoneDefinition definition)` [#](#method-encodedefinition-officeimo-email-outlooktimezonedefinition)

[OutlookTimeZoneBinary.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZoneBinary.cs#L48)

Encodes a TZDEFINITION, preserving untouched decoded source bytes exactly.

Parameters

**definition OfficeIMO.Email.OutlookTimeZoneDefinition required**

Returns

`byte[]`

`public static byte[] EncodeStructure(OutlookTimeZoneStructure structure)` [#](#method-encodestructure-officeimo-email-outlooktimezonestructure)

[OutlookTimeZoneBinary.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZoneBinary.cs#L92)

Encodes PidLidTimeZoneStruct, preserving untouched decoded source bytes exactly.

Parameters

**structure OfficeIMO.Email.OutlookTimeZoneStructure required**

Returns

`byte[]`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:357396C94623462799EA918392375EC5FA008A381D3C95D557924C560EF8C821 -->
