@Test void niceErrorOnMalformed_inputSpans_THRIFT() {
    Throwable exception = assertThrows(IllegalArgumentException.class, () -> {

      SpanBytesDecoder.THRIFT.decodeList(new byte[] {'h', 'e', 'l', 'l', 'o'});
    });
    assertThat(exception.getMessage()).contains("Truncated: length 1 > bytes available 0 reading List<Span> from TBinary");
  }
Particular, thrift can mistake malformed content as a huge list. Let's not blow up.
zipkin/src/test/java/zipkin2/codec/V1SpanBytesDecoderTest.java