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

void org::freedesktop::dbus::Message::preallocate ( int  num  )  [inline, private]

Create a buffer of num bytes. Data is copied to this rather than added to the buffer list.

Definition at line 230 of file Message.java.

References appendBytes().

Referenced by appendone(), Message(), and setSource().

   {
      preallocated = 0;
      pabuf = new byte[num];
      appendBytes(pabuf);
      preallocated = num;
      paofs = 0;
   }


Generated by  Doxygen 1.6.0   Back to index