Add hex support
Merge pull request #92 from yous/patch-hex

Add hex support