formatBinary top-level constant

String const formatBinary

Represents SpanContexts in an opaque binary carrier.

Tracer.inject() will set the BinaryFormat.buffer field to a List containing the injected binary data. Any valid Object can be used as long as the buffer field of the object can be set.

Tracer.extract() will look for carrier.buffer, and that field is expected to be a List.

Implementation

const String formatBinary = 'binary';