code: public boolean readBoolean()
          throws IOException
      {
          int tag = is.read();
  
          switch (tag) {
              case 'T':
                  return true;
              case 'F':
                  return false;
              default:
                  throw expect("boolean", tag);
          }
      }
docs: Reads a boolean
  
  <pre>
  T
  F
  </pre>