def tzif.parse
import bend-kit-time@0.3.0.0/time.bend as Timeimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
703# A TZif file, such as one from /usr/share/zoneinfo. Versions 2 and up use their 64-bit block.
704# ponytail: reads the bytes as a byte String; walk Bytes directly if zone files get big.
705def tzif.parse(b: Bytes.Bytes) -> Maybe<&2, Zone>:
706 +s = Bytes.to_string(b)
707 tzif.go(U32.is_ge(u8(s, 4n), 50), s)
Uses (7)
Used by (0)
No other definition uses this definition.