Example #1
0
 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 )
Example #2
0
 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 )
Example #3
0
 def longarray( self, values ):
     #if safe
     self._al( TAG_LONG_ARRAY )
     #end
     _wla( _ccrla( values ), self._o )
Example #4
0
 def longarray( self, values ):
     self._al( TAG_LONG_ARRAY )
     _wla( _ccrla( values ), self._o )