@Override
    public boolean getBoolean(int index) {
        return getByte(index) != 0;
    }
@Test
    public void testGetBooleanAfterRelease() {
        assertThrows(IllegalReferenceCountException.class, new Executable() {
            @Override
            public void execute() {
                releasedBuffer().getBoolean(0);
            }
        });
    }