| 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(ByteBuffer buffer)
Create a new
CodedOutputStream that writes to the given ByteBuffer. |
static CodedOutputStream |
CodedOutputStream.newInstance(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(OutputStream output)
Create a new
CodedOutputStream wrapping the given OutputStream. |
static CodedOutputStream |
CodedOutputStream.newInstance(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. |
abstract boolean |
CodedInputStream.skipField(int tag,
CodedOutputStream output)
Deprecated.
use
UnknownFieldSet or UnknownFieldSetLite to skip to an output
stream. |
abstract void |
CodedInputStream.skipMessage(CodedOutputStream output)
Reads an entire message and writes it to output in wire format.
|
void |
UnknownFieldSetLite.writeAsMessageSetTo(CodedOutputStream output)
Serializes the set and writes it to
output using MessageSet wire format. |
void |
MessageLite.writeTo(CodedOutputStream output)
Serializes the message and writes it to
output. |
void |
UnknownFieldSetLite.writeTo(CodedOutputStream output)
Serializes the set and writes it to
output. |
void |
GeneratedMessageLite.writeTo(CodedOutputStream output) |
void |
GeneratedMessageLite.ExtendableMessage.ExtensionWriter.writeUntil(int end,
CodedOutputStream output) |
Copyright © 2008–2019. All rights reserved.