@staticmethod<EOL><INDENT>def fromHexString(value):<DEDENT>
r = []<EOL>p = []<EOL>for v in value:<EOL><INDENT>if p:<EOL><INDENT>r.append(int(p + v, <NUM_LIT:16>))<EOL>p = None<EOL><DEDENT>else:<EOL><INDENT>p = v<EOL><DEDENT><DEDENT>if p:<EOL><INDENT>r.append(int(p + '<STR_LIT:0>', <NUM_LIT:16>))<EOL><DEDENT>return octets.ints2octs(r)<EOL>
Create a |ASN.1| object initialized from the hex string.

        Parameters
        ----------
        value: :class:`str`
            Text string like 'DEADBEEF'