MCPcopy Index your code
hub / github.com/PyMySQL/PyMySQL / _pack_int24

Function _pack_int24

pymysql/connections.py:70–71  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

68
69
70def _pack_int24(n):
71 return struct.pack("<I", n)[:3]
72
73
74# https://dev.mysql.com/doc/internals/en/integer.html#packet-Protocol::LengthEncodedInteger

Callers 1

write_packetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…