MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / write

Method write

pager_lib/nmb/base.py:108–109  ·  view source on GitHub ↗
(self, data, ip, port)

Source from the content-addressed store, hash-verified

106 HEADER_STRUCT_SIZE = struct.calcsize(HEADER_STRUCT_FORMAT)
107
108 def write(self, data, ip, port):
109 raise NotImplementedError
110
111 def decodePacket(self, data):
112 if len(data) < self.HEADER_STRUCT_SIZE:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected