Computation :: Data Encoding

b64_to_bytes(b64)
Returns a string of raw bytes, 8 bits each. b64 strings with characters outside of the RFC 3548 standard or with excess padding characters at the end will not decode correctly.
bin_to_bytes(bin)
Returns a string of raw bytes (8 bits each) representing the given binary string.
bytes_to_b64(str)
Returns a string of base64 digits (RFC 3548), 6 bits each.
bytes_to_bin(str)
Returns a string of binary digits, 1 bit each.
bytes_to_hex(str)
Returns a string of hexadecimal digits, 4 bits each.
decode_real_double(str)
Returns a real value decoded from the given string of raw bytes in IEEE 754 double precision format.
encode_real_double(n)
Returns a string of raw bytes representing the given number encoded in IEEE 754 double precision format.
hex_to_bytes(hex)
Returns a string of raw bytes (8 bits each) representing the given hexadecimal string.
value_min_bits(n,size)
Returns the smallest number of words of a given size that can be used to store a given value.
word_max_value(length,size)
Returns the largest unsigned integer that can be stored in a given number of words of a given size.