public static void rewind(Buffer buffer) {
        buffer.rewind();
    }
@Test
    public void testRewind() {
        ByteBuffer byteBuffer = ByteBuffer.allocate(4);
        byteBuffer.putInt(1);
        Assertions.assertDoesNotThrow(() -> BufferUtils.rewind(byteBuffer));
    }