Lines Matching defs:write

29  * Class to write to a protobuf stream.
31 * Each write method takes an ID code from the protoc generated classes
32 * and the value to write. To make a nested object, call #start
40 * TODO: Add a constructor that takes an OutputStream and write to that
54 * cache the size, and then write the size-prefixed buffers.
62 * So what we do here is to let the calling code write the data into a
78 * To accomplish the multiple passes, whenever we write a
79 * WIRE_TYPE_LENGTH_DELIMITED field, we write the size occupied in our
84 * write the negative of childRawSize, as a sentinel that we need to
276 public void write(long fieldId, double val) {
395 throw new IllegalArgumentException("Attempt to call write(long, double) with "
411 public void write(long fieldId, float val) {
530 throw new IllegalArgumentException("Attempt to call write(long, float) with "
546 public void write(long fieldId, int val) {
665 throw new IllegalArgumentException("Attempt to call write(long, int) with "
681 public void write(long fieldId, long val) {
800 throw new IllegalArgumentException("Attempt to call write(long, long) with "
814 public void write(long fieldId, boolean val) {
829 throw new IllegalArgumentException("Attempt to call write(long, boolean) with "
843 public void write(long fieldId, String val) {
858 throw new IllegalArgumentException("Attempt to call write(long, String) with "
872 public void write(long fieldId, byte[] val) {
895 throw new IllegalArgumentException("Attempt to call write(long, byte[]) with "
937 * @deprecated Use #write instead.
957 * @deprecated Use #write instead.
975 * @deprecated Use #write instead.
1001 * @deprecated Use #write instead.
1021 * @deprecated Use #write instead.
1039 * @deprecated Use #write instead.
1088 * @deprecated Use #write instead.
1112 * @deprecated Use #write instead.
1134 * @deprecated Use #write instead.
1166 * @deprecated Use #write instead.
1186 * @deprecated Use #write instead.
1204 * @deprecated Use #write instead.
1235 * @deprecated Use #write instead.
1255 * @deprecated Use #write instead.
1273 * @deprecated Use #write instead.
1304 * @deprecated Use #write instead.
1324 * @deprecated Use #write instead.
1342 * @deprecated Use #write instead.
1373 * @deprecated Use #write instead.
1393 * @deprecated Use #write instead.
1411 * @deprecated Use #write instead.
1442 * @deprecated Use #write instead.
1462 * @deprecated Use #write instead.
1480 * @deprecated Use #write instead.
1510 * @deprecated Use #write instead.
1530 * @deprecated Use #write instead.
1548 * @deprecated Use #write instead.
1574 * @deprecated Use #write instead.
1594 * @deprecated Use #write instead.
1612 * @deprecated Use #write instead.
1637 * @deprecated Use #write instead.
1657 * @deprecated Use #write instead.
1675 * @deprecated Use #write instead.
1701 * @deprecated Use #write instead.
1721 * @deprecated Use #write instead.
1739 * @deprecated Use #write instead.
1765 * @deprecated Use #write instead.
1786 * @deprecated Use #write instead.
1804 * @deprecated Use #write instead.
1834 * @deprecated Use #write instead.
1853 * @deprecated Use #write instead.
1895 * @deprecated Use #write instead.
1915 * @deprecated Use #write instead.
1941 * @deprecated Use #write instead.
1961 * @deprecated Use #write instead.
1979 * @deprecated Use #write instead.
2175 // at which to write the size.
2221 * @deprecated Use #write instead.
2241 * @deprecated Use #write instead.
2308 sb.append("write");
2318 sb.append("write");
2333 sb.append("write");
2419 // Size will be compacted later, but we know the size, so write it,
2436 throw new IllegalArgumentException("write called after compact");
2444 * After this call, do not call any of the write* functions. The
2471 // Re-write the buffer with the sizes as proper varints instead
2486 // It's not valid to write to this object anymore. The write
2623 * undefined (current implementation does not write it, future ones will).
2642 mStream.write(data);