def obj_decode(blob): """Build PDU from the string, decode the tag, convert to an object.""" if _debug: obj_decode._debug("obj_decode %r", blob) data = PDUData(blob) tag = Tag(data) obj = tag.app_to_object() return obj