Home | History | Annotate | Download | only in os

Lines Matching refs:Byte

73  * of primitive objects, which generally result in writing a 4-byte length
81 * <li> {@link #writeByteArray(byte[])},
82 * {@link #writeByteArray(byte[], int, int)}, {@link #readByteArray(byte[])},
343 public final native byte[] marshall();
348 public final native void unmarshall(byte[] data, int offest, int length);
366 * Write a byte array into the parcel at the current {@link #dataPosition},
370 public final void writeByteArray(byte[] b) {
375 * Write an byte array into the parcel at the current {@link #dataPosition},
378 * @param offset Index of first byte to be written.
381 public final void writeByteArray(byte[] b, int offset, int len) {
390 private native void writeNative(byte[] b, int offset, int len);
458 * Write an byte value into the parcel at the current dataPosition(),
461 public final void writeByte(byte val) {
579 writeByte((byte)(val.valueAt(i) ? 1 : 0));
1021 * <li> Byte
1030 * <li> byte[]
1104 } else if (v instanceof byte[]) {
1106 writeByteArray((byte[]) v);
1129 } else if (v instanceof Byte) {
1131 writeInt((Byte) v);
1399 * Read a byte value from the parcel at the current dataPosition().
1401 public final byte readByte() {
1402 return (byte)(readInt() & 0xff);
1472 * Read and return a byte[] object from the parcel.
1474 public final native byte[] createByteArray();
1477 * Read a byte[] object from the parcel and copy it into the
1478 * given byte array.
1480 public final void readByteArray(byte[] val) {
1482 byte[] ba = createByteArray();
2027 byte[] serializedData = createByteArray();