MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _write_u32

Function _write_u32

tools/python-3.11.9-amd64/Lib/sunau.py:152–158  ·  view source on GitHub ↗
(file, x)

Source from the content-addressed store, hash-verified

150 return x
151
152def _write_u32(file, x):
153 data = []
154 for i in range(4):
155 d, m = divmod(x, 256)
156 data.insert(0, int(m))
157 x = d
158 file.write(bytes(data))
159
160class Au_read:
161

Callers 2

_write_headerMethod · 0.85
_patchheaderMethod · 0.85

Calls 2

insertMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected