@ Benchmark @ BenchmarkMode ( Mode . AverageTime ) @ OutputTimeUnit ( TimeUnit . NANOSECONDS ) public SpanContext decodeSpanBinary ( Data data ) throws SpanContextParseException { return data . propagation . getBinaryFormat ( ) . fromByteArray ( data . spanToDecodeBinary ) ; }
Decode a span using binary format .