Uses of Class
com.google.protobuf.CodedOutputStream
-
-
Uses of CodedOutputStream in com.google.protobuf
Methods in com.google.protobuf that return CodedOutputStream Modifier and Type Method Description static CodedOutputStream
CodedOutputStream. newInstance(byte[] flatArray)
Create a newCodedOutputStream
that writes directly to the given byte array.static CodedOutputStream
CodedOutputStream. newInstance(byte[] flatArray, int offset, int length)
Create a newCodedOutputStream
that writes directly to the given byte array slice.static CodedOutputStream
CodedOutputStream. newInstance(java.io.OutputStream output)
Create a newCodedOutputStream
wrapping the givenOutputStream
.static CodedOutputStream
CodedOutputStream. newInstance(java.io.OutputStream output, int bufferSize)
Create a newCodedOutputStream
wrapping the givenOutputStream
with a given buffer size.static CodedOutputStream
CodedOutputStream. newInstance(java.nio.ByteBuffer buffer)
Create a newCodedOutputStream
that writes to the givenByteBuffer
.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 aByteBuffer
.Methods in com.google.protobuf with parameters of type CodedOutputStream Modifier and Type Method Description void
MapEntryLite. serializeTo(CodedOutputStream output, int fieldNumber, K key, V value)
Serializes the provided key and value as though they were wrapped by aMapEntryLite
to the output stream.abstract boolean
CodedInputStream. skipField(int tag, CodedOutputStream output)
Deprecated.useUnknownFieldSet
orUnknownFieldSetLite
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 tooutput
usingMessageSet
wire format.void
GeneratedMessageLite. writeTo(CodedOutputStream output)
void
MessageLite. writeTo(CodedOutputStream output)
Serializes the message and writes it tooutput
.void
UnknownFieldSetLite. writeTo(CodedOutputStream output)
Serializes the set and writes it tooutput
.void
GeneratedMessageLite.ExtendableMessage.ExtensionWriter. writeUntil(int end, CodedOutputStream output)
-