MCPcopy Create free account
hub / github.com/avicoder/spoodle / Buffer

Class Buffer

dnslib/buffer.py:12–110  ·  view source on GitHub ↗

A simple data buffer - supports packing/unpacking in struct format # Needed for Python 2/3 doctest compatibility >>> def p(s): ... if not isinstance(s,str): ... return s.decode() ... return s >>> b = Buffer() >>> b.pack("!BHI",1,2,3) >>> b.offs

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected