def _load_properties(self, raw_bytes):
r = AMQPReader(raw_bytes)<EOL>flags = []<EOL>while <NUM_LIT:1>:<EOL><INDENT>flag_bits = r.read_short()<EOL>flags.append(flag_bits)<EOL>if flag_bits & <NUM_LIT:1> == <NUM_LIT:0>:<EOL><INDENT>break<EOL><DEDENT><DEDENT>shift = <NUM_LIT:0><EOL>d = {}<EOL>for key, proptype in self.PROPERTIES:<EOL><INDENT>if shift == <NUM_LIT:0>:<EOL><INDENT>if not flags:<EOL><INDENT>break<EOL><DEDENT>flag_bits, flags = flags[<NUM_LIT:0>], flags[<NUM_LIT:1>:]<EOL>shift = <NUM_LIT:15><EOL><DEDENT>if flag_bits & (<NUM_LIT:1> << shift):<EOL><INDENT>d[key] = getattr(r, '<STR_LIT>' + proptype)()<EOL><DEDENT>shift -= <NUM_LIT:1><EOL><DEDENT>self.properties = d<EOL>
Given the raw bytes containing the property-flags and property-list
        from a content-frame-header, parse and insert into a dictionary
        stored in this object as an attribute named 'properties'.