Public Member Functions | |
int | getTotalBytesWritten () |
int | getTotalBytesWritten () |
void | write (byte value) |
void | write (byte value) |
void | write (byte[] value, int offset, int length) |
void | write (byte[] value, int offset, int length) |
void | write (ByteBuffer value) |
void | write (ByteBuffer value) |
void | writeBool (int fieldNumber, boolean value) throws IOException |
void | writeBool (int fieldNumber, boolean value) throws IOException |
void | writeBytes (int fieldNumber, ByteString value) throws IOException |
void | writeBytes (int fieldNumber, ByteString value) throws IOException |
void | writeEndGroup (int fieldNumber) |
void | writeEndGroup (int fieldNumber) |
void | writeFixed32 (int fieldNumber, int value) throws IOException |
void | writeFixed32 (int fieldNumber, int value) throws IOException |
void | writeFixed64 (int fieldNumber, long value) throws IOException |
void | writeFixed64 (int fieldNumber, long value) throws IOException |
void | writeGroup (int fieldNumber, Object value) throws IOException |
void | writeGroup (int fieldNumber, Object value) throws IOException |
void | writeGroup (int fieldNumber, Object value, Schema schema) throws IOException |
void | writeGroup (int fieldNumber, Object value, Schema schema) throws IOException |
void | writeInt32 (int fieldNumber, int value) throws IOException |
void | writeInt32 (int fieldNumber, int value) throws IOException |
void | writeLazy (byte[] value, int offset, int length) |
void | writeLazy (byte[] value, int offset, int length) |
void | writeLazy (ByteBuffer value) |
void | writeLazy (ByteBuffer value) |
void | writeMessage (int fieldNumber, Object value) throws IOException |
void | writeMessage (int fieldNumber, Object value) throws IOException |
void | writeMessage (int fieldNumber, Object value, Schema schema) throws IOException |
void | writeMessage (int fieldNumber, Object value, Schema schema) throws IOException |
void | writeSInt32 (int fieldNumber, int value) throws IOException |
void | writeSInt32 (int fieldNumber, int value) throws IOException |
void | writeSInt64 (int fieldNumber, long value) throws IOException |
void | writeSInt64 (int fieldNumber, long value) throws IOException |
void | writeStartGroup (int fieldNumber) |
void | writeStartGroup (int fieldNumber) |
void | writeString (int fieldNumber, String value) throws IOException |
void | writeString (int fieldNumber, String value) throws IOException |
void | writeUInt32 (int fieldNumber, int value) throws IOException |
void | writeUInt32 (int fieldNumber, int value) throws IOException |
void | writeUInt64 (int fieldNumber, long value) throws IOException |
void | writeUInt64 (int fieldNumber, long value) throws IOException |
Private Attributes | |
AllocatedBuffer | allocatedBuffer |
byte[] | buffer |
int | limit |
int | limitMinusOne |
int | offset |
int | offsetMinusOne |
int | pos |
Writer that uses safe operations on target array.
Definition at line 918 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 971 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 971 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 943 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 943 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 951 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 951 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 947 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 947 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a single byte.
value | the byte to be written |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1377 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a single byte.
value | the byte to be written |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1377 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a sequence of bytes. The ByteOutput must copy
if it will not be processed prior to the return of this method call, since
may be reused/altered by the caller.
NOTE: This method MUST NOT modify the
. Doing so is a programming error and will lead to data corruption which will be difficult to debug.
value | the bytes to be written |
offset | the offset of the start of the writable range |
length | the number of bytes to write starting from |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1382 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a sequence of bytes. The ByteOutput must copy
if it will not be processed prior to the return of this method call, since
may be reused/altered by the caller.
NOTE: This method MUST NOT modify the
. Doing so is a programming error and will lead to data corruption which will be difficult to debug.
value | the bytes to be written |
offset | the offset of the start of the writable range |
length | the number of bytes to write starting from |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1382 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a sequence of bytes. The ByteOutput must copy
if it will not be processed prior to the return of this method call, since
may be reused/altered by the caller.
NOTE: This method MUST NOT modify the
. Doing so is a programming error and will lead to data corruption which will be difficult to debug.
value | the bytes to be written. Upon returning from this call, the of this buffer will be set to the |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1410 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a sequence of bytes. The ByteOutput must copy
if it will not be processed prior to the return of this method call, since
may be reused/altered by the caller.
NOTE: This method MUST NOT modify the
. Doing so is a programming error and will lead to data corruption which will be difficult to debug.
value | the bytes to be written. Upon returning from this call, the of this buffer will be set to the |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1410 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1033 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1033 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1050 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1050 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1103 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1103 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1005 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1005 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1026 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1026 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1084 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1084 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1091 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1091 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 991 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 991 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a sequence of bytes. The ByteOutput is free to retain a reference to the value beyond the scope of this method call (e.g. write later) since it is considered immutable and is guaranteed not to change by the caller.
NOTE: This method MUST NOT modify the
. Doing so is a programming error and will lead to data corruption which will be difficult to debug.
value | the bytes to be written |
offset | the offset of the start of the writable range |
length | the number of bytes to write starting from |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1392 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a sequence of bytes. The ByteOutput is free to retain a reference to the value beyond the scope of this method call (e.g. write later) since it is considered immutable and is guaranteed not to change by the caller.
NOTE: This method MUST NOT modify the
. Doing so is a programming error and will lead to data corruption which will be difficult to debug.
value | the bytes to be written |
offset | the offset of the start of the writable range |
length | the number of bytes to write starting from |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1392 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a sequence of bytes. The ByteOutput is free to retain a reference to the value beyond the scope of this method call (e.g. write later) since it is considered immutable and is guaranteed not to change by the caller.
NOTE: This method MUST NOT modify the
. Doing so is a programming error and will lead to data corruption which will be difficult to debug.
value | the bytes to be written. Upon returning from this call, the of this buffer will be set to the |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1421 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Writes a sequence of bytes. The ByteOutput is free to retain a reference to the value beyond the scope of this method call (e.g. write later) since it is considered immutable and is guaranteed not to change by the caller.
NOTE: This method MUST NOT modify the
. Doing so is a programming error and will lead to data corruption which will be difficult to debug.
value | the bytes to be written. Upon returning from this call, the of this buffer will be set to the |
IOException | thrown if an error occurred while writing |
Reimplemented from com.google.protobuf.ByteOutput.
Definition at line 1421 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1064 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1064 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1074 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1074 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 998 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 998 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1019 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1019 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1098 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1098 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1040 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1040 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 984 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 984 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1012 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inline |
Definition at line 1012 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1173 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1173 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1166 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1166 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1151 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1151 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1160 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1160 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1155 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1155 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1266 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1266 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1239 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1239 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1232 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1232 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1277 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1277 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1217 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1217 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1256 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1256 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1247 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1247 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1289 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1289 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1226 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1226 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1221 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
inlineprivate |
Definition at line 1221 of file protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
private |
Definition at line 919 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
private |
Definition at line 920 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
private |
Definition at line 922 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
private |
Definition at line 924 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
private |
Definition at line 921 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
private |
Definition at line 923 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.
|
private |
Definition at line 925 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java.