@Test void writeLongLe_matchesByteBuffer() {
    for (long number : List.of(Long.MIN_VALUE, 0L, Long.MAX_VALUE)) {
      byte[] bytes = new byte[8];
      WriteBuffer.wrap(bytes).writeLongLe(number);

      ByteBuffer byteBuffer = ByteBuffer.allocate(8);
      byteBuffer.order(ByteOrder.LITTLE_ENDIAN);
      byteBuffer.putLong(number);

      assertThat(bytes)
        .containsExactly(byteBuffer.array());
    }
  }
Uses test data and codepoint wrapping trick from okhttp3.FormBodyTest
zipkin/src/test/java/zipkin2/internal/WriteBufferTest.java