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
private abstract static class CodedOutputStream.AbstractBufferedEncoder extends CodedOutputStream
Abstract base class for buffered encoders.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]buffer(package private) intlimit(package private) intposition(package private) inttotalBytesWritten
-
Constructor Summary
Constructors Constructor Description AbstractBufferedEncoder(int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidbuffer(byte value)This method does not perform bounds checking on the array.(package private) voidbufferFixed32NoTag(int value)This method does not perform bounds checking on the array.(package private) voidbufferFixed64NoTag(long value)This method does not perform bounds checking on the array.(package private) voidbufferUInt32NoTag(int value)This method does not perform bounds checking on the array.(package private) voidbufferUInt64NoTag(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
-
-
-
-
Method Detail
-
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.
-
-