public static void position(Buffer buffer, int newPosition) {
        buffer.position(newPosition);
    }
@Test
    public void testPosition() {
        ByteBuffer byteBuffer = ByteBuffer.allocate(4);
        byteBuffer.putInt(1);
        Assertions.assertDoesNotThrow(() -> BufferUtils.position(byteBuffer, 0));
    }