small-mcap 0.12.0
“Lightweight Python library for reading and writing MCAP files”
Parses JSON data with PythonLayered bytes/string conversion
SHA-256a8d6e21de78301be78da510b383764b576de22883dfa2657776ff30e0cf53293
MaleculeO(As)H(Db)
Evidence
14class InvalidMagicError(McapError):
15 def __init__(self, bad_magic: bytes | memoryview) -> None:
16 super().__init__(
17 f"not a valid MCAP file, invalid magic: {bytes(bad_magic).decode('utf-8', 'replace')}"
18 )
10:16… emoryview to bytes for json.loads type compatibility
11 return json.loads(data if isinstance(data, bytes) else bytes(data))
12
13
⋯10 lines
347 while True:
348 try:
No evidence locations were recorded for this file. Raw result