DEV: Returns the default payload class if nothing has been found by the guess_payload_class() method. :param str payload: the layer's payload :return: the default payload class define inside the configuration file
(self, payload)
| 1128 | return self.default_payload_class(payload) |
| 1129 | |
| 1130 | def default_payload_class(self, payload): |
| 1131 | # type: (bytes) -> Type[Packet] |
| 1132 | """ |
| 1133 | DEV: Returns the default payload class if nothing has been found by the |
| 1134 | guess_payload_class() method. |
| 1135 | |
| 1136 | :param str payload: the layer's payload |
| 1137 | :return: the default payload class define inside the configuration file |
| 1138 | """ |
| 1139 | return conf.raw_layer |
| 1140 | |
| 1141 | def hide_defaults(self): |
| 1142 | # type: () -> None |