def get_ie(instance, key, data):
if not instance.print_:<EOL><INDENT>return dict()<EOL><DEDENT>if len(data) < instance.minlen or len(data) > instance.maxlen:<EOL><INDENT>if data:<EOL><INDENT>return {'<STR_LIT>'.format(len(data)): '<STR_LIT:U+0020>'.join(format(x, '<STR_LIT>') for x in data)}<EOL><DEDENT>return {'<STR_LIT>': data}<EOL><DEDENT>return {instance.name: instance.print_(key, data)}<EOL>
http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n981.

    Positional arguments:
    instance -- `ie_print` class instance.
    key -- corresponding `ieprinters` dictionary key for the instance.
    data -- bytearray data to read.

    Returns:
    Dictionary of parsed data with string keys.