(self, stream)
| 956 | # the break code, it advances past that byte and returns True so the calling |
| 957 | # method knows to stop parsing that data item. |
| 958 | def _handle_break_code(self, stream): |
| 959 | if int.from_bytes(stream.peek(1)[:1], 'big') == self.BREAK_CODE: |
| 960 | stream.seek(1, os.SEEK_CUR) |
| 961 | return True |
| 962 | |
| 963 | def _read_bytes_as_int(self, stream, num_bytes): |
| 964 | byte = self._read_from_stream(stream, num_bytes) |
no test coverage detected