Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_v1 = codec.read_int32()
_v0.append(_v1)
matrix2.append(_v0)
codec.end_read_message()
# Invoke user implementation of remote function.
self._handler.erpcMatrixMultiply(matrix1, matrix2, result_matrix)
# Prepare codec for reply message.
codec.reset()
# Construct reply message.
codec.start_write_message(erpc.codec.MessageInfo(
type=erpc.codec.MessageType.kReplyMessage,
service=interface.IMatrixMultiplyService.SERVICE_ID,
request=interface.IMatrixMultiplyService.ERPCMATRIXMULTIPLY_ID,
sequence=sequence))
if result_matrix.value is None:
raise ValueError("result_matrix is None")
for _i0 in result_matrix.value:
for _i1 in _i0:
codec.write_int32(_i1)
codec.end_write_message()