[#BloombergLP-baltzo-ZoneinfoBinaryReader-readRaw-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/ZoneinfoBinaryReader.adoc[ZoneinfoBinaryReader]::readRaw
:relfileprefix: ../../../
:mrdocs:

Read time zone information from the specified `stream`, and load the description into the specified `zoneinfoResult` exactly in accordance with the original data&period; The `zoneinfoResult` may not be a &quot;well&hyphen;formed&quot; object (see `baltzo&colon;&colon;ZoneinfoUtil&colon;&colon;isWellFormed` documentation for details)&period; Return 0 on success and a non&hyphen;zero value if `stream` does not provide a sequence of bytes consistent with the Zoneinfo binary format&period; If an error occurs during the operation, `zoneinfoResult` is unspecified&period; Optionally specify a `headerResult` that, on success, will be populated with a summary of the `stream` contents&period; Note that time zone data files created by certain versions of the `zic` time zone compiler will have a sentinel transition prior to 01&hyphen;01&hyphen;0001 (the first representable `Datetime` value) and the `zoneinfoResult` will therefore be non&hyphen;well formed (use `read` instead)&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;zoneinfobinaryreader&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
readRaw(
    xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo]* zoneinfoResult,
    std::istream& stream);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
