public interface RawProtoStreamWriter
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
writeBool(int number,
boolean value) |
void |
writeBytes(int number,
byte[] value) |
void |
writeBytes(int number,
byte[] value,
int offset,
int length) |
void |
writeBytes(int number,
java.nio.ByteBuffer value) |
void |
writeDouble(int number,
double value) |
void |
writeEnum(int number,
int value) |
void |
writeFixed32(int number,
int value) |
void |
writeFixed64(int number,
long value) |
void |
writeFloat(int number,
float value) |
void |
writeInt32(int number,
int value) |
void |
writeInt64(int number,
long value) |
void |
writeRawBytes(byte[] value) |
void |
writeRawVarint32(int value) |
void |
writeRawVarint64(long value) |
void |
writeSFixed32(int number,
int value) |
void |
writeSFixed64(int number,
long value) |
void |
writeSInt32(int number,
int value) |
void |
writeSInt64(int number,
long value) |
void |
writeString(int number,
java.lang.String value) |
void |
writeTag(int number,
int wireType) |
void |
writeUInt32(int number,
int value) |
void |
writeUInt64(int number,
long value) |
void flush()
throws java.io.IOException
java.io.IOExceptionvoid writeTag(int number,
int wireType)
throws java.io.IOException
java.io.IOExceptionvoid writeRawVarint32(int value)
throws java.io.IOException
java.io.IOExceptionvoid writeRawVarint64(long value)
throws java.io.IOException
java.io.IOExceptionvoid writeString(int number,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionvoid writeInt32(int number,
int value)
throws java.io.IOException
java.io.IOExceptionvoid writeFixed32(int number,
int value)
throws java.io.IOException
java.io.IOExceptionvoid writeUInt32(int number,
int value)
throws java.io.IOException
java.io.IOExceptionvoid writeSFixed32(int number,
int value)
throws java.io.IOException
java.io.IOExceptionvoid writeSInt32(int number,
int value)
throws java.io.IOException
java.io.IOExceptionvoid writeInt64(int number,
long value)
throws java.io.IOException
java.io.IOExceptionvoid writeUInt64(int number,
long value)
throws java.io.IOException
java.io.IOExceptionvoid writeFixed64(int number,
long value)
throws java.io.IOException
java.io.IOExceptionvoid writeSFixed64(int number,
long value)
throws java.io.IOException
java.io.IOExceptionvoid writeSInt64(int number,
long value)
throws java.io.IOException
java.io.IOExceptionvoid writeEnum(int number,
int value)
throws java.io.IOException
java.io.IOExceptionvoid writeBool(int number,
boolean value)
throws java.io.IOException
java.io.IOExceptionvoid writeDouble(int number,
double value)
throws java.io.IOException
java.io.IOExceptionvoid writeFloat(int number,
float value)
throws java.io.IOException
java.io.IOExceptionvoid writeBytes(int number,
java.nio.ByteBuffer value)
throws java.io.IOException
java.io.IOExceptionvoid writeBytes(int number,
byte[] value)
throws java.io.IOException
java.io.IOExceptionvoid writeBytes(int number,
byte[] value,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionvoid writeRawBytes(byte[] value)
throws java.io.IOException
java.io.IOException