Logo Search packages:      
Sourcecode: dbus-java version File versions  Download package

void org::freedesktop::dbus::Message::appendint ( long  l,
int  width 
) [inline]

Marshalls an integer of a given width and appends it to the message. Endianness is determined from the message.

Parameters:
l The integer to marshall.
width The byte-width of the int.

Definition at line 349 of file Message.java.

References appendBytes(), and marshallint().

Referenced by appendone().

   { 
      byte[] buf = new byte[width];
      marshallint(l, buf, 0, width);
      appendBytes(buf);
   }


Generated by  Doxygen 1.6.0   Back to index