def _write(self, fmt, value):
    self._buffer += struct.pack(fmt, value)
    self._cursor += struct.calcsize(fmt)
def _write(self, fmt, value):
    self._buffer += struct.pack(fmt, value)
    self._cursor += struct.calcsize(fmt)