Fix off-by-one error: 0x00 is valid AppCode.
Merge pull request #1 from toqueteos/patch-1

Fix off-by-one error: 0x00 is valid AppCode.