Method for coding and decoding a data stream | Hacker News Reader