(self, pkt, pay)
| 3383 | ] |
| 3384 | |
| 3385 | def post_build(self, pkt, pay): |
| 3386 | # type: (bytes, bytes) -> bytes |
| 3387 | if len(pkt) == 0x30: |
| 3388 | # 'The first byte of the Buffer field MUST be set to 0.' |
| 3389 | pkt += b"\x00" |
| 3390 | return ( |
| 3391 | _SMB2_post_build( |
| 3392 | self, |
| 3393 | pkt, |
| 3394 | self.OFFSET, |
| 3395 | { |
| 3396 | "ReadChannelInfo": 44, |
| 3397 | }, |
| 3398 | ) |
| 3399 | + pay |
| 3400 | ) |
| 3401 | |
| 3402 | |
| 3403 | bind_top_down( |
nothing calls this directly
no test coverage detected