time_zone_info v0.1.0 TimeZoneInfo.ExternalTermFormat View Source

Encodes and decodes the TimeZoneInfo.data.

Link to this section Summary

Functions

Returns a checksum for the binary or TimeZoneInfo.data.

Decodes TimeZoneInfo.data from binary.

Encodes TimeZoneInfo.data to binary.

Link to this section Functions

Link to this function

checksum(data)

View Source
checksum(TimeZoneInfo.data()) :: {:ok, String.t()} | {:error, term()}
checksum(binary()) :: {:ok, String.t()} | {:error, term()}

Returns a checksum for the binary or TimeZoneInfo.data.

Link to this function

decode(binary)

View Source
decode(binary()) :: {:ok, TimeZoneInfo.data()} | {:error, atom()}

Decodes TimeZoneInfo.data from binary.

Link to this function

encode(term)

View Source
encode(TimeZoneInfo.data()) :: {:ok, binary()} | {:error, atom()}

Encodes TimeZoneInfo.data to binary.