MCPcopy Create free account
hub / github.com/HexHive/NASS / __init__

Method __init__

fuzz/fuzzparcel.py:238–241  ·  view source on GitHub ↗
(self, ptype: ParcelType, entries: list[bytes])

Source from the content-addressed store, hash-verified

236
237class ArrayVarLengthEntry():
238 def __init__(self, ptype: ParcelType, entries: list[bytes]):
239 self.arr_size = len(entries)
240 self.entries = entries
241 self.ptype = ptype
242 def to_parcel_entry(self):
243 data = (self.arr_size).to_bytes(4, "little")
244 data += sum(len(e) for e in self.entries).to_bytes(4, "little")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected