(cls, f, protover=PROTO_VERSION)
| 459 | |
| 460 | @classmethod |
| 461 | def msg_deser(cls, f, protover=PROTO_VERSION): |
| 462 | c = cls() |
| 463 | c.message = VarStringSerializer.stream_deserialize(f) |
| 464 | c.ccode = struct.unpack(b"<c", ser_read(f,1))[0] |
| 465 | c.reason = VarStringSerializer.stream_deserialize(f) |
| 466 | return c |
| 467 | |
| 468 | def msg_ser(self, f): |
| 469 | VarStringSerializer.stream_serialize(self.message, f) |
nothing calls this directly
no test coverage detected