Class WireFormat

java.lang.Object
io.opentelemetry.exporter.internal.marshal.WireFormat

final class WireFormat extends Object
  • Field Details

  • Constructor Details

    • WireFormat

      private WireFormat()
  • Method Details

    • makeTag

      static int makeTag(int fieldNumber, int wireType)
      Makes a tag value given a field number and wire type.
    • getTagWireType

      static int getTagWireType(int tag)
      Given a tag value, determines the wire type (the lower 3 bits).
    • getTagFieldNumber

      static int getTagFieldNumber(int tag)
      Given a tag value, determines the field number (the upper 29 bits).