Added functions for conversion to and from standard octet representation for integers.