MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / read_binary

Method read_binary

erpc_python/erpc/basic_codec.py:143–147  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

141 return self.read_binary().decode()
142
143 def read_binary(self):
144 length = self.read_uint32()
145 data = self._buffer[self._cursor:self._cursor+length]
146 self._cursor += length
147 return data
148
149 def start_read_list(self):
150 """ Function which should be called on list de-serialization.

Callers 1

read_stringMethod · 0.95

Calls 1

read_uint32Method · 0.95

Tested by

no test coverage detected