init commit

This commit is contained in:
Ayzen
2026-03-05 14:42:33 +03:00
commit fd4618b20d
964 changed files with 325114 additions and 0 deletions
@@ -0,0 +1,10 @@
"""CRC32 helpers for LibreVNA packet framing."""
from __future__ import annotations
import zlib
def crc32(data: bytes | bytearray | memoryview) -> int:
"""Compute protocol CRC32 over packet bytes excluding trailing CRC field."""
return zlib.crc32(data) & 0xFFFFFFFF