/** Encode and write a tag. */ public void writeTag(int fieldNumber, int wireType) throws IOException { writeRawVarint32(WireFormat.makeTag(fieldNumber, wireType)); }
/** Write an {@code int32} field, including tag, to the stream. */ public void writeInt32(int fieldNumber, int value) throws IOException { writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); if (value >= 0) { writeRawVarint32(value); } else { // Must sign-extend. writeRawVarint64(value); } }
/** Write a {@code bytes} field, including tag, to the stream. */ public void writeBytes(int fieldNumber, Buffer value) throws IOException { writeTag(fieldNumber, WireFormat.WIRETYPE_LENGTH_DELIMITED); writeRawVarint32(value.length); writeRawBytes(value.data, value.offset, value.length); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws java.io.IOException { output.writeRawVarint32(serializedSizeUnframed()); writeUnframed(output); }