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.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 |
MessageLite.writeTo(CodedOutputStream output)
Serializes the message and writes it to
output . |
void |
GeneratedMessageLite.ExtendableMessage.ExtensionWriter.writeUntil(int end,
CodedOutputStream output) |