def int( self, name, value ): #if safe self._ac( name ) #end o = self._o _wtn( TAG_INT, name, o ) _wi( value, o )
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 )
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()
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()
def int( self, value ): #if safe self._al( TAG_INT ) #end _wi( value, self._o )
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 )
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 )
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 )
def int( self, value ): self._al( TAG_INT ) _wi( value, self._o )
def int( self, name, value ): self._ac( name ) o = self._o _wtn( TAG_INT, name, o ) _wi( value, o )