def write_timestamp(self, t, pack=Struct('>Q').pack):
        """
        Write out a Python datetime.datetime object as a 64-bit integer
        representing seconds since the Unix UTC epoch.
        """
        # Double check timestamp, can't imagine why it would be signed
        self._output_buffer.extend(pack(long(timegm(t.timetuple()))))
        return self