MCPcopy Create free account
hub / github.com/OpenImagingLab/4DSloMo / send

Function send

gaussian_renderer/network_gui.py:50–55  ·  view source on GitHub ↗
(message_bytes, verify)

Source from the content-addressed store, hash-verified

48 return json.loads(message.decode("utf-8"))
49
50def send(message_bytes, verify):
51 global conn
52 if message_bytes != None:
53 conn.sendall(message_bytes)
54 conn.sendall(len(verify).to_bytes(4, 'little'))
55 conn.sendall(bytes(verify, 'ascii'))
56
57def receive():
58 message = read()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected