Esempio n. 1
0
 def int( self, name, value ):
     #if safe
     self._ac( name )
     #end
     o = self._o
     _wtn( TAG_INT, name, o )
     _wi( value, o )
Esempio n. 2
0
 def startLongArray( self, name, length ):
     if length < 0 or length > 2147483647:
         raise OutOfBoundsError( length, 0, 2147483647 )
     self._ac( name )
     o = self._o
     _wtn( TAG_LONG_ARRAY, name, o )
     _wi( length, o )
     self._pushLA( length )
Esempio n. 3
0
 def startLongArray( self, length ):
     #if safe
     if length < 0 or length > 2147483647:
         raise OutOfBoundsError( length, 0, 2147483647 )
     self._al( TAG_LONG_ARRAY )
     #end
     _wi( length, self._o )
     #if safe
     self._pushLA( length )
     #else
     self._pushLA()
Esempio n. 4
0
 def startIntArray( self, name, length ):
     #if safe
     if length < 0 or length > 2147483647:
         raise OutOfBoundsError( length, 0, 2147483647 )
     self._ac( name )
     #end
     o = self._o
     _wtn( TAG_INT_ARRAY, name, o )
     _wi( length, o )
     #if safe
     self._pushIA( length )
     #else
     self._pushIA()
Esempio n. 5
0
 def int( self, value ):
     #if safe
     self._al( TAG_INT )
     #end
     _wi( value, self._o )
Esempio n. 6
0
 def startLongArray( self, length ):
     if length < 0 or length > 2147483647:
         raise OutOfBoundsError( length, 0, 2147483647 )
     self._al( TAG_LONG_ARRAY )
     _wi( length, self._o )
     self._pushLA( length )
Esempio n. 7
0
 def startIntArray( self, length ):
     if length < 0 or length > 2147483647:
         raise OutOfBoundsError( length, 0, 2147483647 )
     self._al( TAG_INT_ARRAY )
     _wi( length, self._o )
     self._pushIA( length )
Esempio n. 8
0
 def startByteArray( self, length ):
     if length < 0 or length > 2147483647:
         raise OutOfBoundsError( length, 0, 2147483647 )
     self._al( TAG_BYTE_ARRAY )
     _wi( length, self._o )
     self._pushBA( length )
Esempio n. 9
0
 def int( self, value ):
     self._al( TAG_INT )
     _wi( value, self._o )
Esempio n. 10
0
 def int( self, name, value ):
     self._ac( name )
     o = self._o
     _wtn( TAG_INT, name, o )
     _wi( value, o )