Added a endianness test for ByteArithmetic methods
Fixed exception code references in documentation