Modifier and Type | Method and Description |
---|---|
static CodedOutputStream |
CodedOutputStream.newInstance(byte[] flatArray)
Create a new
CodedOutputStream that writes directly to the given byte array. |
static CodedOutputStream |
CodedOutputStream.newInstance(byte[] flatArray,
int offset,
int length)
Create a new
CodedOutputStream that writes directly to the given byte array slice. |
static CodedOutputStream |
CodedOutputStream.newInstance(java.nio.ByteBuffer byteBuffer)
Create a new
CodedOutputStream that writes to the given ByteBuffer . |
static CodedOutputStream |
CodedOutputStream.newInstance(java.nio.ByteBuffer byteBuffer,
int unused)
Deprecated.
the size parameter is no longer used since use of an internal buffer is useless (and wasteful) when
writing to a
ByteBuffer . Use newInstance(ByteBuffer) instead. |
static CodedOutputStream |
CodedOutputStream.newInstance(java.io.OutputStream output)
Create a new
CodedOutputStream wrapping the given OutputStream . |
static CodedOutputStream |
CodedOutputStream.newInstance(java.io.OutputStream output,
int bufferSize)
Create a new
CodedOutputStream wrapping the given OutputStream with a given buffer size. |
Modifier and Type | Method and Description |
---|---|
void |
MapEntryLite.serializeTo(CodedOutputStream output,
int fieldNumber,
K key,
V value)
Serializes the provided key and value as though they were wrapped by a
MapEntryLite to the output stream. |
boolean |
CodedInputStream.skipField(int tag,
CodedOutputStream output)
Reads a single field and writes it to output in wire format, given its tag value.
|
void |
CodedInputStream.skipMessage(CodedOutputStream output)
Reads an entire message and writes it to output in wire format.
|
void |
UnknownFieldSetLite.writeTo(CodedOutputStream output)
Serializes the set and writes it to
output . |
void |
MessageLite.writeTo(CodedOutputStream output)
Serializes the message and writes it to
output . |
void |
GeneratedMessageLite.ExtendableMessage.ExtensionWriter.writeUntil(int end,
CodedOutputStream output) |