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

Function _read_short

tools/python-3.11.9-amd64/Lib/aifc.py:164–168  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

162 raise EOFError from None
163
164def _read_short(file):
165 try:
166 return struct.unpack('>h', file.read(2))[0]
167 except struct.error:
168 raise EOFError from None
169
170def _read_ushort(file):
171 try:

Callers 3

_read_floatFunction · 0.85
_read_comm_chunkMethod · 0.85
_readmarkMethod · 0.85

Calls 2

unpackMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected