public boolean readBool() throws TException {
  if (boolValue_ != null) {
    boolean result=boolValue_.booleanValue();
    boolValue_=null;
    return result;
  }
  return readByte() == Types.BOOLEAN_TRUE;
}

public boolean readBool ( ) throws TException { if ( boolValue_ != null ) { boolean result = boolValue_ . booleanValue ( ) ; boolValue_ = null ; return result ; } return readByte ( ) == Types . BOOLEAN_TRUE ; }
read a boolean off the wire . if this is a boolean field , the value should already have been read during readfieldbegin , so we ' ll just consume the pre - stored value . otherwise , read a byte .
