Move from octal to hexadecimal notation.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Re-work examples a lot to make "godoc" a little bit happier.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>