Added decode example

@mortenvp please take a look