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

void org::freedesktop::dbus::Message::marshallint ( long  l,
byte[]  buf,
int  ofs,
int  width 
) [inline]

Marshalls an integer of a given width into a buffer. Endianness is determined from the message.

l The integer to marshall.
buf The buffer to marshall to.
ofs The offset to marshall to.
width The byte-width of the int.

Definition at line 363 of file Message.java.

References marshallintBig(), and marshallintLittle().

Referenced by appendint(), and appendone().

      if (big) marshallintBig(l, buf, ofs, width); else marshallintLittle(l, buf, ofs, width); 
      if (Debug.debug) Debug.print(Debug.VERBOSE, "Marshalled int "+l+" to "+Hexdump.toHex(buf,ofs,width));

Generated by  Doxygen 1.6.0   Back to index