def from_payload(self, payload):
self.major_version = payload[<NUM_LIT:0>] * <NUM_LIT> + payload[<NUM_LIT:1>]<EOL>self.minor_version = payload[<NUM_LIT:2>] * <NUM_LIT> + payload[<NUM_LIT:3>]<EOL>
Init frame from binary data.