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

Method _write

erpc_python/erpc/basic_codec.py:30–32  ·  view source on GitHub ↗
(self, fmt, value)

Source from the content-addressed store, hash-verified

28 self.write_uint32(msgInfo.sequence)
29
30 def _write(self, fmt, value):
31 self._buffer += struct.pack(fmt, value)
32 self._cursor += struct.calcsize(fmt)
33
34 def write_bool(self, value):
35 self._write('<?', value)

Callers 11

write_boolMethod · 0.95
write_int8Method · 0.95
write_int16Method · 0.95
write_int32Method · 0.95
write_int64Method · 0.95
write_uint8Method · 0.95
write_uint16Method · 0.95
write_uint32Method · 0.95
write_uint64Method · 0.95
write_floatMethod · 0.95
write_doubleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected