private void assertVar32(int value) {
        final int computeBufferSize = BytesUtils.computeVar32Size(value);
        final byte[] bytes = new byte[computeBufferSize];
        BytesUtils.writeVar32(value, bytes, 0);

        final Buffer buffer = new FixedBuffer(bytes);
        final int varInt = buffer.readVInt();
        assertEquals(value, varInt, "check value");
        assertEquals(buffer.getOffset(), computeBufferSize, "check buffer size");

        final int varInt_ByteUtils1 = BytesUtils.bytesToVar32(buffer.getBuffer(), 0);
        assertEquals(value, varInt_ByteUtils1, "check value");

        final byte[] max_buffer = new byte[BytesUtils.VLONG_MAX_SIZE];
        BytesUtils.writeVar32(value, max_buffer, 0);
        final int varInt_ByteUtils2 = BytesUtils.bytesToVar32(max_buffer, 0);
        assertEquals(value, varInt_ByteUtils2, "check value");


    }
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