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,
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,
int offset,
int length) |
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,
String value) |
void |
writeTag(int number,
int wireType) |
void |
writeUInt32(int number,
int value) |
void |
writeUInt32NoTag(int value) |
void |
writeUInt64(int number,
long value) |
void |
writeUInt64NoTag(long value) |
void flush()
throws IOException
IOExceptionvoid writeTag(int number,
int wireType)
throws IOException
IOExceptionvoid writeUInt32NoTag(int value)
throws IOException
IOExceptionvoid writeUInt64NoTag(long value)
throws IOException
IOExceptionvoid writeString(int number,
String value)
throws IOException
IOExceptionvoid writeInt32(int number,
int value)
throws IOException
IOExceptionvoid writeFixed32(int number,
int value)
throws IOException
IOExceptionvoid writeUInt32(int number,
int value)
throws IOException
IOExceptionvoid writeSFixed32(int number,
int value)
throws IOException
IOExceptionvoid writeSInt32(int number,
int value)
throws IOException
IOExceptionvoid writeInt64(int number,
long value)
throws IOException
IOExceptionvoid writeUInt64(int number,
long value)
throws IOException
IOExceptionvoid writeFixed64(int number,
long value)
throws IOException
IOExceptionvoid writeSFixed64(int number,
long value)
throws IOException
IOExceptionvoid writeSInt64(int number,
long value)
throws IOException
IOExceptionvoid writeEnum(int number,
int value)
throws IOException
IOExceptionvoid writeBool(int number,
boolean value)
throws IOException
IOExceptionvoid writeDouble(int number,
double value)
throws IOException
IOExceptionvoid writeFloat(int number,
float value)
throws IOException
IOExceptionvoid writeBytes(int number,
ByteBuffer value)
throws IOException
IOExceptionvoid writeBytes(int number,
byte[] value)
throws IOException
IOExceptionvoid writeBytes(int number,
byte[] value,
int offset,
int length)
throws IOException
IOExceptionvoid writeRawBytes(byte[] value,
int offset,
int length)
throws IOException
IOExceptionCopyright © 2020 JBoss, a division of Red Hat. All rights reserved.