Class CodedOutputStream
java.lang.Object
io.opentelemetry.exporter.internal.marshal.CodedOutputStream
Protobuf wire encoder.
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 intcomputeBoolSizeNoTag(boolean unused) Compute the number of bytes that would be needed to encode aboolfield.static intcomputeByteArraySizeNoTag(byte[] value) Compute the number of bytes that would be needed to encode abytesfield.static intCompute the number of bytes that would be needed to encode abytesfield.static intcomputeDoubleSizeNoTag(double unused) Compute the number of bytes that would be needed to encode adoublefield, including tag.static intcomputeInt64SizeNoTag(long value) Compute the number of bytes that would be needed to encode anint64field, including tag.
-
Method Details
-
computeInt64SizeNoTag
public static int computeInt64SizeNoTag(long value) Compute the number of bytes that would be needed to encode anint64field, including tag. -
computeDoubleSizeNoTag
public static int computeDoubleSizeNoTag(double unused) Compute the number of bytes that would be needed to encode adoublefield, including tag. -
computeBoolSizeNoTag
public static int computeBoolSizeNoTag(boolean unused) Compute the number of bytes that would be needed to encode aboolfield. -
computeByteArraySizeNoTag
public static int computeByteArraySizeNoTag(byte[] value) Compute the number of bytes that would be needed to encode abytesfield. -
computeByteBufferSizeNoTag
Compute the number of bytes that would be needed to encode abytesfield.
-