12.06.2015 Views

The Annoyance Filter.pdf - Fourmilab

The Annoyance Filter.pdf - Fourmilab

The Annoyance Filter.pdf - Fourmilab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

§55 ANNOYANCE-FILTER BASE64 MIME DECODER 53<br />

55. Since we rely on the parent class default implementation of getNextEncodedLine , if we wish to<br />

permit intermixed calls on getNextEncodedLine and getNextEncodedChar we must cope with the fact<br />

that the last getNextEncodedLine call may have peeked ahead one character. If so, clear the look ahead<br />

flag and return the look ahead character.<br />

〈 Check for look ahead character 55 〉 ≡<br />

if (lookAhead ) {<br />

lookAhead = false ;<br />

return lookChar ;<br />

}<br />

This code is used in sections 49 and 59.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!