http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/f06e48ec2759a63368f993af8ba4a10068b82765/mmgen/proto/eth/rlp/codec.py
:param rlp: the rlp byte string to read from :param start: the position at which to start reading :returns: a tuple ``(prefix, type, length, end)``, where ``type`` is either ``str`` or ``list`` depending on the type of the following payload, ``length`` is the length of the payload in bytes, and ``end`` is the position of the first payload byte in the rlp string """ b0 = rlp[start] if b0 < 128: # single byte return (b'', bytes, 1, start) elif b0 < SHORT_STRING: # short string if b0 - 128 == 1 and...