public final class LowCopyProtostuffOutput extends Object implements Output
| Modifier and Type | Field and Description |
|---|---|
LinkBuffer |
buffer |
| Constructor and Description |
|---|
LowCopyProtostuffOutput() |
LowCopyProtostuffOutput(LinkBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeBool(int fieldNumber,
boolean value,
boolean repeated) |
void |
writeByteArray(int fieldNumber,
byte[] bytes,
boolean repeated) |
void |
writeByteRange(boolean utf8String,
int fieldNumber,
byte[] value,
int offset,
int length,
boolean repeated) |
void |
writeBytes(int fieldNumber,
ByteBuffer value,
boolean repeated) |
void |
writeBytes(int fieldNumber,
ByteString value,
boolean repeated) |
void |
writeDouble(int fieldNumber,
double value,
boolean repeated) |
void |
writeEnum(int fieldNumber,
int number,
boolean repeated) |
void |
writeFixed32(int fieldNumber,
int value,
boolean repeated) |
void |
writeFixed64(int fieldNumber,
long value,
boolean repeated) |
void |
writeFloat(int fieldNumber,
float value,
boolean repeated) |
void |
writeInt32(int fieldNumber,
int value,
boolean repeated) |
void |
writeInt64(int fieldNumber,
long value,
boolean repeated) |
<T> void |
writeObject(int fieldNumber,
T value,
Schema<T> schema,
boolean repeated) |
void |
writeSFixed32(int fieldNumber,
int value,
boolean repeated) |
void |
writeSFixed64(int fieldNumber,
long value,
boolean repeated) |
void |
writeSInt32(int fieldNumber,
int value,
boolean repeated) |
void |
writeSInt64(int fieldNumber,
long value,
boolean repeated) |
void |
writeString(int fieldNumber,
CharSequence value,
boolean repeated) |
void |
writeUInt32(int fieldNumber,
int value,
boolean repeated) |
void |
writeUInt64(int fieldNumber,
long value,
boolean repeated) |
public LinkBuffer buffer
public LowCopyProtostuffOutput()
public LowCopyProtostuffOutput(LinkBuffer buffer)
public void writeInt32(int fieldNumber,
int value,
boolean repeated)
throws IOException
writeInt32 in interface OutputIOExceptionpublic void writeUInt32(int fieldNumber,
int value,
boolean repeated)
throws IOException
writeUInt32 in interface OutputIOExceptionpublic void writeSInt32(int fieldNumber,
int value,
boolean repeated)
throws IOException
writeSInt32 in interface OutputIOExceptionpublic void writeFixed32(int fieldNumber,
int value,
boolean repeated)
throws IOException
writeFixed32 in interface OutputIOExceptionpublic void writeSFixed32(int fieldNumber,
int value,
boolean repeated)
throws IOException
writeSFixed32 in interface OutputIOExceptionpublic void writeInt64(int fieldNumber,
long value,
boolean repeated)
throws IOException
writeInt64 in interface OutputIOExceptionpublic void writeUInt64(int fieldNumber,
long value,
boolean repeated)
throws IOException
writeUInt64 in interface OutputIOExceptionpublic void writeSInt64(int fieldNumber,
long value,
boolean repeated)
throws IOException
writeSInt64 in interface OutputIOExceptionpublic void writeFixed64(int fieldNumber,
long value,
boolean repeated)
throws IOException
writeFixed64 in interface OutputIOExceptionpublic void writeSFixed64(int fieldNumber,
long value,
boolean repeated)
throws IOException
writeSFixed64 in interface OutputIOExceptionpublic void writeFloat(int fieldNumber,
float value,
boolean repeated)
throws IOException
writeFloat in interface OutputIOExceptionpublic void writeDouble(int fieldNumber,
double value,
boolean repeated)
throws IOException
writeDouble in interface OutputIOExceptionpublic void writeBool(int fieldNumber,
boolean value,
boolean repeated)
throws IOException
writeBool in interface OutputIOExceptionpublic void writeEnum(int fieldNumber,
int number,
boolean repeated)
throws IOException
writeEnum in interface OutputIOExceptionpublic void writeString(int fieldNumber,
CharSequence value,
boolean repeated)
throws IOException
writeString in interface OutputIOExceptionpublic void writeBytes(int fieldNumber,
ByteString value,
boolean repeated)
throws IOException
writeBytes in interface OutputIOExceptionpublic void writeByteArray(int fieldNumber,
byte[] bytes,
boolean repeated)
throws IOException
writeByteArray in interface OutputIOExceptionpublic void writeByteRange(boolean utf8String,
int fieldNumber,
byte[] value,
int offset,
int length,
boolean repeated)
throws IOException
writeByteRange in interface OutputIOExceptionpublic <T> void writeObject(int fieldNumber,
T value,
Schema<T> schema,
boolean repeated)
throws IOException
writeObject in interface OutputIOExceptionpublic void writeBytes(int fieldNumber,
ByteBuffer value,
boolean repeated)
throws IOException
writeBytes in interface OutputIOExceptionCopyright © 2009–2022. All rights reserved.