MCPcopy Index your code
hub / github.com/apache/dubbo-python2 / read_bytes

Method read_bytes

dubbo/codec/decoder.py:93–101  ·  view source on GitHub ↗

读取n个字节并向后移动n位指针 :param num: :return:

(self, num)

Source from the content-addressed store, hash-verified

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):

Callers 5

read_intMethod · 0.95
read_doubleMethod · 0.95
read_stringMethod · 0.95
read_longMethod · 0.95
read_dateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected