Package | Description |
---|---|
com.google.protobuf |
Modifier and Type | Class and Description |
---|---|
class |
CodedOutputStream
Encodes and writes protocol message fields.
|
private static class |
CodedOutputStream.AbstractBufferedEncoder
Abstract base class for buffered encoders.
|
private static class |
CodedOutputStream.ArrayEncoder
A
CodedOutputStream that writes directly to a byte array. |
private static class |
CodedOutputStream.ByteOutputEncoder
A
CodedOutputStream that decorates a ByteOutput . |
private static class |
CodedOutputStream.HeapNioEncoder
A
CodedOutputStream that writes directly to a heap ByteBuffer . |
private static class |
CodedOutputStream.OutputStreamEncoder
An
CodedOutputStream that decorates an OutputStream . |
private static class |
CodedOutputStream.SafeDirectNioEncoder
A
CodedOutputStream that writes directly to a direct ByteBuffer , using only
safe operations.. |
private static class |
CodedOutputStream.UnsafeDirectNioEncoder
|
Modifier and Type | Field and Description |
---|---|
private ByteOutput |
CodedOutputStream.ByteOutputEncoder.out |
Modifier and Type | Method and Description |
---|---|
(package private) static CodedOutputStream |
CodedOutputStream.newInstance(ByteOutput byteOutput,
int bufferSize)
Create a new
CodedOutputStream that writes to the provided ByteOutput . |
static void |
UnsafeByteOperations.unsafeWriteTo(ByteString bytes,
ByteOutput output)
Writes the given
ByteString to the provided ByteOutput . |
(package private) void |
RopeByteString.writeTo(ByteOutput output) |
(package private) abstract void |
ByteString.writeTo(ByteOutput byteOutput)
Writes this
ByteString to the provided ByteOutput . |
(package private) void |
ByteString.LiteralByteString.writeTo(ByteOutput output) |
(package private) void |
NioByteString.writeTo(ByteOutput output) |
Constructor and Description |
---|
ByteOutputEncoder(ByteOutput out,
int bufferSize) |