Added decode versions for multiple byte sizes of integers.
Also added preliminary base128 encoding support.