(frame_type: int, frame_data: bytes)
| 45 | |
| 46 | |
| 47 | def decode_frame(frame_type: int, frame_data: bytes) -> bytes: |
| 48 | buf = Buffer(data=frame_data) |
| 49 | assert buf.pull_uint_var() == frame_type |
| 50 | return buf.pull_bytes(buf.pull_uint_var()) |
| 51 | |
| 52 | |
| 53 | class CallbackPlaceholder(tutils._Placeholder[bytes]): |
no outgoing calls
no test coverage detected
searching dependent graphs…