Class CodedInputStream
java.lang.Object
io.opentelemetry.exporter.internal.marshal.CodedInputStream
Minimal copy of protobuf-java's CodedInputStream, currently only used in GrpcStatusUtil.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodedInputStreamnewInstance(byte[] serialized) Returns a newCodedInputStream.doubleintRead varint32.Reads a string field.intreadTag()Reads the next tag.booleanskipField(int tag) Skips a field.
-
Method Details
-
newInstance
Returns a newCodedInputStream. -
readTag
Reads the next tag.- Throws:
IOException
-
readStringRequireUtf8
Reads a string field.- Throws:
IOException
-
skipField
Skips a field.- Throws:
IOException
-
readRawVarint32
Read varint32.- Throws:
IOException
-
readDouble
- Throws:
IOException
-