return (((c & 0x1F)<<6) + (strm.get() & 0x3F));
return (((c & 0x1F)<<6) + (wallet_Get(strm) & 0x3F));
Wallet_UTF8Get(nsInputFileStream& strm) {  const PRUint32 buflen = 1000;  static char buf[buflen+1];  static PRUint32 last = 0;  static PRUint32 next = 0;  PRUnichar c;  if (next >= last) {    next = 0;    last = strm.read(buf, buflen);    if (last <= 0 || strm.eof()) {      /* note that eof is not set until we read past the end of the file */      return 0;    }  }  c = (buf[next++] & 0xFF);  if ((c & 0x80) == 0x00) {    return c;  } else if ((c & 0xE0) == 0xC0) {    return (((c & 0x1F)<<6) + (strm.get() & 0x3F));  } else if ((c & 0xF0) == 0xE0) {    return (((c & 0x0F)<<12) + ((strm.get() & 0x3F)<<6) + (strm.get() & 0x3F));  } else {    return 0; /* this is an error, input was not utf8 */  }}