Uses of Class
com.google.protobuf.ByteOutput
-
Uses of ByteOutput in com.google.protobuf
Subclasses of ByteOutput in com.google.protobufModifier and TypeClassDescription(package private) class
A protobuf writer that serializes messages in their binary form.private static final class
Writer that uses safe operations on a targetByteBuffer
.private static final class
Writer that uses safe operations on target array.private static final class
Writer that uses unsafe operations on a targetByteBuffer
.private static final class
Writer that uses unsafe operations on a target array.class
Encodes and writes protocol message fields.private static class
Abstract base class for buffered encoders.private static class
ACodedOutputStream
that writes directly to a byte array.private static final class
ACodedOutputStream
that decorates aByteOutput
.private static final class
ACodedOutputStream
that writes directly to a heapByteBuffer
.private static final class
AnCodedOutputStream
that decorates anOutputStream
.private static final class
ACodedOutputStream
that writes directly to a directByteBuffer
, using only safe operations..private static final class
Fields in com.google.protobuf declared as ByteOutputModifier and TypeFieldDescriptionprivate final ByteOutput
CodedOutputStream.ByteOutputEncoder.out
Methods in com.google.protobuf with parameters of type ByteOutputModifier and TypeMethodDescription(package private) static CodedOutputStream
CodedOutputStream.newInstance
(ByteOutput byteOutput, int bufferSize) Create a newCodedOutputStream
that writes to the providedByteOutput
.static void
UnsafeByteOperations.unsafeWriteTo
(ByteString bytes, ByteOutput output) Writes the givenByteString
to the providedByteOutput
.(package private) final void
ByteString.LiteralByteString.writeTo
(ByteOutput output) (package private) void
ByteString.NioByteString.writeTo
(ByteOutput output) (package private) abstract void
ByteString.writeTo
(ByteOutput byteOutput) Writes thisByteString
to the providedByteOutput
.(package private) void
RopeByteString.writeTo
(ByteOutput output) (package private) void
ByteString.LeafByteString.writeToReverse
(ByteOutput byteOutput) (package private) abstract void
ByteString.writeToReverse
(ByteOutput byteOutput) This method behaves exactly the same asByteString.writeTo(ByteOutput)
unless theByteString
is a rope.(package private) void
RopeByteString.writeToReverse
(ByteOutput output) Constructors in com.google.protobuf with parameters of type ByteOutputModifierConstructorDescription(package private)
ByteOutputEncoder
(ByteOutput out, int bufferSize)