def construct_request(self, request_bytes):<EOL>
data = request_bytes  <EOL>tcp_header = AmsTcpHeader(data[<NUM_LIT:2>:<NUM_LIT:6>])<EOL>ams_header = AmsHeader(<EOL>data[<NUM_LIT:6>:<NUM_LIT:12>],<EOL>data[<NUM_LIT:12>:<NUM_LIT>],<EOL>data[<NUM_LIT>:<NUM_LIT:20>],<EOL>data[<NUM_LIT:20>:<NUM_LIT>],<EOL>data[<NUM_LIT>:<NUM_LIT>],<EOL>data[<NUM_LIT>:<NUM_LIT>],<EOL>data[<NUM_LIT>:<NUM_LIT:30>],<EOL>data[<NUM_LIT:30>:<NUM_LIT>],<EOL>data[<NUM_LIT>:<NUM_LIT>],<EOL>data[<NUM_LIT>:],<EOL>)<EOL>return AmsPacket(tcp_header, ams_header)<EOL>
Unpack an AMS packet from binary data.

        :param bytes request_bytes: The raw request data
        :rtype AmsPacket:
        :return: AmsPacket with fields populated from the binary data