DEV: to be overloaded to extract current layer's padding. :param str s: the current layer :return: a couple of strings (actual layer, padding)
(self, s)
| 1013 | return canvas |
| 1014 | |
| 1015 | def extract_padding(self, s): |
| 1016 | # type: (bytes) -> Tuple[bytes, Optional[bytes]] |
| 1017 | """ |
| 1018 | DEV: to be overloaded to extract current layer's padding. |
| 1019 | |
| 1020 | :param str s: the current layer |
| 1021 | :return: a couple of strings (actual layer, padding) |
| 1022 | """ |
| 1023 | return s, None |
| 1024 | |
| 1025 | def post_dissect(self, s): |
| 1026 | # type: (bytes) -> bytes |