Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NatLabRockies/windtools
/ read_char
Method
read_char
windtools/io/binary.py:65–66 ·
view source on GitHub ↗
(self,encoding='utf-8')
Source
from the content-addressed store, hash-verified
63
raise
IOError
64
65
def
read_char(self,encoding=
'utf-8'
):
66
return
self.f.read(1).decode(encoding)
67
68
def
readline(self,encoding=
'utf-8'
):
69
s =
''
Callers
1
readline
Method · 0.95
Calls
1
read
Method · 0.80
Tested by
no test coverage detected