Added example to demonstrate stream decoding.