Lines Matching defs:buffer
72 public void marshal(T value, ByteBuffer buffer) {
98 buffer.put(parcelContents);
102 public T unmarshal(ByteBuffer buffer) {
104 Log.v(TAG, "unmarshal, buffer remaining " + buffer.remaining());
110 * Read out the entire byte buffer as an array, then copy it into the parcel.
112 * Once we unparcel the entire object, advance the byte buffer by only how many
122 buffer.mark();
126 int maxLength = buffer.remaining();
129 buffer.get(remaining);
142 buffer.reset();
143 buffer.position(buffer.position() + actualLength);