Class BoolAnyValueStatelessMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.otlp.BoolAnyValueStatelessMarshaler
- All Implemented Interfaces:
StatelessMarshaler<Boolean>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBinarySerializedSize
(Boolean value, MarshalerContext context) Returns the number of bytes marshaling given value will write in proto binary format.void
writeTo
(Serializer output, Boolean value, MarshalerContext context) Marshal given value using the providedSerializer
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BoolAnyValueStatelessMarshaler
private BoolAnyValueStatelessMarshaler()
-
-
Method Details
-
writeTo
Description copied from interface:StatelessMarshaler
Marshal given value using the providedSerializer
.- Specified by:
writeTo
in interfaceStatelessMarshaler<Boolean>
- Throws:
IOException
-
getBinarySerializedSize
Description copied from interface:StatelessMarshaler
Returns the number of bytes marshaling given value will write in proto binary format.- Specified by:
getBinarySerializedSize
in interfaceStatelessMarshaler<Boolean>
-