MCPcopy Create free account
hub / github.com/XiaoMi/mace / string_info_to_bytes

Method string_info_to_bytes

tools/python/micro/proto_to_bytes.py:118–121  ·  view source on GitHub ↗
(self, in_bytes, string,
                             object_queue, parent_addr)

Source from the content-addressed store, hash-verified

116 return in_bytes
117
118 def string_info_to_bytes(self, in_bytes, string,
119 object_queue, parent_addr):
120 return self.bs_info_to_bytes(in_bytes, string, object_queue,
121 parent_addr, FieldDescriptor.TYPE_STRING)
122
123 def bytes_info_to_bytes(self, in_bytes, bytes, object_queue, parent_addr):
124 return self.bs_info_to_bytes(in_bytes, bytes, object_queue,

Callers 2

object_to_bytesMethod · 0.95

Calls 1

bs_info_to_bytesMethod · 0.95

Tested by

no test coverage detected