| Package | Description |
|---|---|
| com.sun.sgs.impl.sharedutil |
| Modifier and Type | Method and Description |
|---|---|
MessageBuffer |
MessageBuffer.putByte(int b)
Puts the specified byte in this buffer's current position,
and advances the buffer's position and limit by one.
|
MessageBuffer |
MessageBuffer.putByteArray(byte[] bytes)
Puts into this buffer a short representing the length of the specified
byte array followed by the bytes from the specified byte array,
starting at the buffer's current position.
|
MessageBuffer |
MessageBuffer.putBytes(byte[] bytes)
Puts the bytes from the specified byte array in this buffer,
starting at the buffer's current position.
|
MessageBuffer |
MessageBuffer.putChar(int v)
Puts the specified char as a two-byte value (high byte first)
starting in the buffer's current position, and advances the
buffer's position and limit by two.
|
MessageBuffer |
MessageBuffer.putInt(int v)
Puts the specified int as four bytes (high byte first)
starting in the buffer's current position, and advances the
buffer's position and limit by 4.
|
MessageBuffer |
MessageBuffer.putLong(long v)
Puts the specified long as eight bytes (high byte first)
starting in the buffer's current position, and advances the
buffer's position and limit by 8.
|
MessageBuffer |
MessageBuffer.putShort(int v)
Puts the specified short as a two-byte value (high byte first)
starting in the buffer's current position, and advances the
buffer's position and limit by two.
|
MessageBuffer |
MessageBuffer.putString(String str)
Puts the specified string, encoded in modified UTF-8 format,
in the buffer starting in the buffer's the current position, and
advances the buffer's position and limit by the size of the
encoded string.
|
Copyright © 2007-2013. All Rights Reserved.