@Test
    public void testComputeVar64Size() {
        Assertions.assertEquals(1, BytesUtils.computeVar64Size(0));
        Assertions.assertEquals(1, BytesUtils.computeVar64Size(127));

        Assertions.assertEquals(2, BytesUtils.computeVar64Size(128));
        Assertions.assertEquals(2, BytesUtils.computeVar64Size(16383));

        Assertions.assertEquals(3, BytesUtils.computeVar64Size(16384));
        Assertions.assertEquals(4, BytesUtils.computeVar64Size(2097152));
        Assertions.assertEquals(5, BytesUtils.computeVar64Size(268435456));
        Assertions.assertEquals(6, BytesUtils.computeVar64Size(34359738368L));

        Assertions.assertEquals(10, BytesUtils.computeVar64Size(-1));
    }
bound 1->0
bound 2->128
bound 3->16384
bound 4->2097152
bound 5->268435456
bound 6->34359738368
bound 7->?
bound 8->?
bound 9->?
bound 10->?
commons-buffer/src/test/java/com/navercorp/pinpoint/common/util/BytesUtilsTest.java