doc: Provide 2 examples of SimpleProtocol parser
authorisaacs <i@izs.me>
Thu, 28 Feb 2013 23:42:55 +0000 (15:42 -0800)
committerisaacs <i@izs.me>
Fri, 1 Mar 2013 01:38:17 +0000 (17:38 -0800)
commit4926ffd14be0c4c53f63915d5ebf0ada3190b0ae
tree268edf341dd885ce49c87e13ed5cd3fb86a3e7fc
parent88644eaa2db3e9b603efca00e640ff08d9320c1b
doc: Provide 2 examples of SimpleProtocol parser

The first example uses Readable, and shows the use of
readable.unshift().  The second uses the Transform class, showing that
it's much simpler in this case.
doc/api/stream.markdown