(self)
| 135 | return result |
| 136 | |
| 137 | def read_string(self): |
| 138 | end_pos = self._data.find(b"\0", self._position) |
| 139 | if end_pos < 0: |
| 140 | return None |
| 141 | result = self._data[self._position : end_pos] |
| 142 | self._position = end_pos + 1 |
| 143 | return result |
| 144 | |
| 145 | def read_length_encoded_integer(self): |
| 146 | """Read a 'Length Coded Binary' number from the data buffer. |
no outgoing calls
no test coverage detected