예제 #1
0
 def read_bool(self):
     val, self._curr_cursor = _DecodeSignedVarint32(self._data, self._curr_cursor)
     return val != 0
예제 #2
0
 def read_bool(self):
     val, self._curr_cursor = _DecodeSignedVarint32(self._data,
                                                    self._curr_cursor)
     return val != 0
예제 #3
0
 def read_field_num(self):
     tag, self._curr_cursor = _DecodeSignedVarint32(self._data, self._curr_cursor)
     return wire_format.UnpackTag(tag)[0]
예제 #4
0
 def read_field_num(self):
     tag, self._curr_cursor = _DecodeSignedVarint32(self._data,
                                                    self._curr_cursor)
     return wire_format.UnpackTag(tag)[0]