Trivial implementations for binary, octal, hex