def __init__(self, *, fout=None, format=None, byteorder=sys.byteorder, nanosecond=False):
        """Initialise instance.

        Keyword arguments:
            * fout -- str, output path
            * format -- str, output format
            * byteorder -- str, output file byte order
            * nanosecond -- bool, output nanosecond-resolution file flag

        """
        self._newflg = False    # new packet flag
        self._fproot = fout     # output root path
        self._buffer = dict()   # buffer field
        self._stream = list()   # stream index
        self._endian = byteorder
        self._nnsecd = nanosecond

        # dump I/O object
        self._foutio, self._fdpext = self.make_fout(fout, format)
def __init__ ( self , * , fout = None , format = None , byteorder = sys . byteorder , nanosecond = False ) : self . _newflg = False self . _fproot = fout self . _buffer = dict ( ) self . _stream = list ( ) self . _endian = byteorder self . _nnsecd = nanosecond self . _foutio , self . _fdpext = self . make_fout ( fout , format )
Initialise instance.

        Keyword arguments:
            * fout -- str, output path
            * format -- str, output format
            * byteorder -- str, output file byte order
            * nanosecond -- bool, output nanosecond-resolution file flag