Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
164
def
_read_short(file):
165
try
:
166
return
struct.unpack(
'>h'
, file.read(2))[0]
167
except
struct.error:
168
raise
EOFError
from
None
169
170
def
_read_ushort(file):
171
try
:
Callers
3
_read_float
Function · 0.85
_read_comm_chunk
Method · 0.85
_readmark
Method · 0.85
Calls
2
unpack
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected