read overloads

Synopses

Declared in <baltzo_zoneinfobinaryreader.h>

Read well‐formed time zone information from a binary stream.

static
int
read(
    Zoneinfo* zoneinfoResult,
    std::istream& stream);

Read time zone information and load the header summary.

static
int
read(
    Zoneinfo* zoneinfoResult,
    ZoneinfoBinaryHeader* headerResult,
    std::istream& stream);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

zoneinfoResult

receives the loaded time zone information

stream

binary input stream providing Zoneinfo data

headerResult

receives a summary of the stream contents

Created with MrDocs