Any leading '#' will be dropped. Values prefixed with "$" will be treated as hexadecimal. Values with a leading 'b' will be treated as binary (MSB bit first)

h2i(h)

Arguments

h

character vector of values e.g. "#$1a", "$12", "#127", "#b00111111"

Value

vector of integers