Class CodedOutputStream.AbstractBufferedEncoder
java.lang.Object
io.opentelemetry.exporter.internal.marshal.CodedOutputStream
io.opentelemetry.exporter.internal.marshal.CodedOutputStream.AbstractBufferedEncoder
- Direct Known Subclasses:
CodedOutputStream.OutputStreamEncoder
- Enclosing class:
CodedOutputStream
Abstract base class for buffered encoders.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final byte[]
(package private) final int
(package private) int
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final void
buffer
(byte value) This method does not perform bounds checking on the array.(package private) final void
bufferFixed32NoTag
(int value) This method does not perform bounds checking on the array.(package private) final void
bufferFixed64NoTag
(long value) This method does not perform bounds checking on the array.(package private) final void
bufferUInt32NoTag
(int value) This method does not perform bounds checking on the array.(package private) final void
bufferUInt64NoTag
(long value) This method does not perform bounds checking on the array.Methods inherited from class io.opentelemetry.exporter.internal.marshal.CodedOutputStream
computeBoolSizeNoTag, computeByteArraySizeNoTag, computeByteBufferSizeNoTag, computeDoubleSizeNoTag, computeEnumSizeNoTag, computeFixed32SizeNoTag, computeFixed64SizeNoTag, computeFloatSizeNoTag, computeInt32SizeNoTag, computeInt64SizeNoTag, computeLengthDelimitedFieldSize, computeSFixed32SizeNoTag, computeSFixed64SizeNoTag, computeSInt32SizeNoTag, computeSInt64SizeNoTag, computeTagSize, computeUInt32SizeNoTag, computeUInt64SizeNoTag, encodeZigZag32, encodeZigZag64, flush, newInstance, write, write, writeBoolNoTag, writeByteArrayNoTag, writeByteArrayNoTag, writeByteBufferNoTag, writeDoubleNoTag, writeEnumNoTag, writeFixed32NoTag, writeFixed64NoTag, writeFloatNoTag, writeInt32NoTag, writeInt64NoTag, writeRawBytes, writeSFixed32NoTag, writeSFixed64NoTag, writeSInt32NoTag, writeSInt64NoTag, writeUInt32NoTag, writeUInt64NoTag
-
Field Details
-
buffer
final byte[] buffer -
limit
final int limit -
position
int position -
totalBytesWritten
int totalBytesWritten
-
-
Constructor Details
-
AbstractBufferedEncoder
AbstractBufferedEncoder(int bufferSize)
-
-
Method Details
-
buffer
final void buffer(byte value) This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller. -
bufferUInt32NoTag
final void bufferUInt32NoTag(int value) This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller. -
bufferUInt64NoTag
final void bufferUInt64NoTag(long value) This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller. -
bufferFixed32NoTag
final void bufferFixed32NoTag(int value) This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller. -
bufferFixed64NoTag
final void bufferFixed64NoTag(long value) This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller.
-