def longs( self, values ): a = self._a + len( values ) b = self._b if a > b: raise NBTFormatError( "More than {:d} longs were written.".format( b ) ) self._a = a _wls( _ccrla( values ), self._o )
def longarray( self, name, values ): #if safe self._ac( name ) #end values = _ccrla( values ) o = self._o _wtn( TAG_LONG_ARRAY, name, o ) _wla( values, o )
def longarray( self, values ): #if safe self._al( TAG_LONG_ARRAY ) #end _wla( _ccrla( values ), self._o )
def longarray( self, values ): self._al( TAG_LONG_ARRAY ) _wla( _ccrla( values ), self._o )