(self, s)
| 67 | self.data = b"" |
| 68 | |
| 69 | def frombytes(self, s): |
| 70 | if not isinstance(s, bytes) and not isinstance(s, bytearray): |
| 71 | raise Exception("Invalid type: %s" % type(s)) |
| 72 | self.data = s |
| 73 | |
| 74 | def tobytes(self): |
| 75 | return self.data |
no outgoing calls