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

Method start_read_union

erpc_python/erpc/basic_codec.py:157–163  ·  view source on GitHub ↗

Function which should be called on union de-serialization. Returns: int: Int of union discriminator.

(self)

Source from the content-addressed store, hash-verified

155 return self.read_uint32()
156
157 def start_read_union(self):
158 """ Function which should be called on union de-serialization.
159
160 Returns:
161 int: Int of union discriminator.
162 """
163 return self.read_int32()
164
165 def read_null_flag(self):
166 return self.read_uint8()

Callers

nothing calls this directly

Calls 1

read_int32Method · 0.95

Tested by

no test coverage detected