@Override
    public boolean readBool() throws IOException {
        checkIfPackedField();
        int position = nioBuffer.position();
        boolean result = UnsafeDirectBufferUtil.getByte(address(position)) != 0;
        BufferUtils.position(nioBuffer, position + 1);
        return result;
    }
Read a {@code bool} field value from the internal buffer.
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/serialization/impl/protostuff/io/UnsafeNioBufInput.java