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 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.