def decode(tai64n):
    seconds, nanoseconds = struct.unpack(_STRUCTURE, a2b_hex(tai64n[1:]))
    seconds -= _OFFSET
    return seconds + (nanoseconds / 1000000000.0)
Convert TAI64N string to seconds since epoch.
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tai64n.py/decode