Package | Description |
---|---|
com.google.protobuf |
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 |
UnknownFieldSet.Field.writeAsMessageSetExtensionTo(int fieldNumber,
CodedOutputStream output)
Serializes the field, including field number, and writes it to
output , using MessageSet wire format. |
void |
UnknownFieldSet.writeAsMessageSetTo(CodedOutputStream output)
Serializes the set and writes it to
output using
MessageSet wire format. |
void |
UnknownFieldSet.writeTo(CodedOutputStream output)
Serializes the set and writes it to
output . |
void |
MessageLite.writeTo(CodedOutputStream output)
Serializes the message and writes it to
output . |
void |
DynamicMessage.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.FileDescriptorSet.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.FileDescriptorProto.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.DescriptorProto.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.DescriptorProto.ExtensionRange.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.FieldDescriptorProto.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.EnumDescriptorProto.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.EnumValueDescriptorProto.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.ServiceDescriptorProto.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.MethodDescriptorProto.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.FileOptions.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.MessageOptions.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.FieldOptions.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.EnumOptions.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.EnumValueOptions.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.ServiceOptions.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.MethodOptions.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.UninterpretedOption.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.UninterpretedOption.NamePart.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.SourceCodeInfo.writeTo(CodedOutputStream output) |
void |
DescriptorProtos.SourceCodeInfo.Location.writeTo(CodedOutputStream output) |
void |
AbstractMessage.writeTo(CodedOutputStream output) |
void |
UnknownFieldSet.Field.writeTo(int fieldNumber,
CodedOutputStream output)
Serializes the field, including field number, and writes it to
output . |