读取n个字节并向后移动n位指针 :param num: :return:
(self, num)
| 91 | return value |
| 92 | |
| 93 | def read_bytes(self, num): |
| 94 | """ |
| 95 | 读取n个字节并向后移动n位指针 |
| 96 | :param num: |
| 97 | :return: |
| 98 | """ |
| 99 | value = self.__data[self.__index:self.__index + num] |
| 100 | self.__index += num |
| 101 | return value |
| 102 | |
| 103 | @ranges(ord('T'), ord('F')) |
| 104 | def read_boolean(self): |
no outgoing calls
no test coverage detected