public static BytesDecoder<Span> decoderForListMessage(byte[] spans) {
    return decoderForListMessage(ByteBuffer.wrap(spans));
  }
Throws {@link IllegalArgumentException} if the input isn't a json, proto3 or thrift list
message.
zipkin/src/main/java/zipkin2/SpanBytesDecoderDetector.java