File: structs.py

package info (click to toggle)
python-asyncmy 0.2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 676 kB
  • sloc: python: 3,528; makefile: 40
file content (18 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import struct

h = struct.Struct("<h")
I = struct.Struct("<I")  # noqa: E741
H = struct.Struct("<H")
Q = struct.Struct("<Q")
i = struct.Struct("<i")
B = struct.Struct("!B")
B_ = struct.Struct("B")
HBB = struct.Struct("<HBB")
iB = struct.Struct("<iB")
IIB = struct.Struct("<IIB")
iIB23s = struct.Struct("<iIB23s")
BHHB = struct.Struct("<BHHB")
HB = struct.Struct("<HB")
xHIBHBxx = struct.Struct("<xHIBHBxx")
xhh = struct.Struct("<xhh")
HH = struct.Struct("<HH")