writeInt static method

void writeInt(
  1. ByteSink out,
  2. int i
)

Serialize an int variable.

@param out the stream to be read @param i the value to be deserialized @throws IOException if an exception occurs while writing to the stream

Implementation

static void writeInt(ByteSink out, int i) {
  writeRawLong(out, intUid);
  writeRawInt(out, i);
}