(self, data: bytes)
| 35 | self._wbuf = io.BytesIO(data) if data is not None else io.BytesIO() |
| 36 | |
| 37 | def write(self, data: bytes) -> 'WriteBuf': |
| 38 | self._wbuf.write(data) |
| 39 | return self |
| 40 | |
| 41 | def write_byte(self, v: int) -> 'WriteBuf': |
| 42 | return self.write(struct.pack('B', v)) |
no outgoing calls
no test coverage detected