Insure we're working with unsigned ints when reading/writing.