@Override
    public int read() throws IOException {
      byte[] b = new byte[1];
      int n = read(b, 0, 1);
      return (n != -1) ? b[0] : -1;
    }
Get a SASL wrapped InputStream. Can be called only after saslConnect() has been called.
@return a SASL wrapped InputStream
hbase-client/src/main/java/org/apache/hadoop/hbase/security/HBaseSaslRpcClient.java