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

Method _read

erpc_python/erpc/basic_codec.py:102–105  ·  view source on GitHub ↗
(self, fmt)

Source from the content-addressed store, hash-verified

100 return MessageInfo(type=msgType, service=service, request=request, sequence=sequence)
101
102 def _read(self, fmt):
103 result = struct.unpack_from(fmt, self._buffer, self._cursor)
104 self._cursor += struct.calcsize(fmt)
105 return result[0]
106
107 def read_bool(self):
108 return self._read('<?')

Callers 11

read_boolMethod · 0.95
read_int8Method · 0.95
read_int16Method · 0.95
read_int32Method · 0.95
read_int64Method · 0.95
read_uint8Method · 0.95
read_uint16Method · 0.95
read_uint32Method · 0.95
read_uint64Method · 0.95
read_floatMethod · 0.95
read_doubleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected