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