Create the current layer :return: string of the packet with the payload
(self)
| 777 | return self.payload.build_padding() |
| 778 | |
| 779 | def build(self): |
| 780 | # type: () -> bytes |
| 781 | """ |
| 782 | Create the current layer |
| 783 | |
| 784 | :return: string of the packet with the payload |
| 785 | """ |
| 786 | p = self.do_build() |
| 787 | p += self.build_padding() |
| 788 | p = self.build_done(p) |
| 789 | return p |
| 790 | |
| 791 | def post_build(self, pkt, pay): |
| 792 | # type: (bytes, bytes) -> bytes |
no test coverage detected