def _get(out_parsed, in_bss, key, parser_func):
short_key = key[<NUM_LIT:12>:].lower()<EOL>key_integer = getattr(nl80211, key)<EOL>if in_bss.get(key_integer) is None:<EOL><INDENT>return dict()<EOL><DEDENT>data = parser_func(in_bss[key_integer])<EOL>if parser_func == libnl.attr.nla_data:<EOL><INDENT>data = data[:libnl.attr.nla_len(in_bss[key_integer])]<EOL><DEDENT>out_parsed[short_key] = data<EOL>
Handle calling the parser function to convert bytearray data into Python data types.

    Positional arguments:
    out_parsed -- dictionary to update with parsed data and string keys.
    in_bss -- dictionary of integer keys and bytearray values.
    key -- key string to lookup (must be a variable name in libnl.nl80211.nl80211).
    parser_func -- function to call, with the bytearray data as the only argument.