Example #1
0
 def ints( self, values ):
     a = self._a + len( values )
     b = self._b
     if a > b:
         raise NBTFormatError( "More than {:d} ints were written.".format( b ) )
     self._a = a
     _wis( _ccria( values ), self._o )
Example #2
0
 def intarray( self, name, values ):
     #if safe
     self._ac( name )
     #end
     values = _ccria( values )
     o = self._o
     _wtn( TAG_INT_ARRAY, name, o )
     _wia( values, o )
Example #3
0
 def intarray( self, values ):
     #if safe
     self._al( TAG_INT_ARRAY )
     #end
     _wia( _ccria( values ), self._o )
Example #4
0
 def intarray( self, values ):
     self._al( TAG_INT_ARRAY )
     _wia( _ccria( values ), self._o )