MCPcopy Create free account
hub / github.com/NatLabRockies/windtools / read_int8

Method read_int8

windtools/io/binary.py:92–96  ·  view source on GitHub ↗
(self,N=1)

Source from the content-addressed store, hash-verified

90 else:
91 return self.unpack('{:d}i'.format(N),self.f.read(N*4))[0:N] #int
92 def read_int8(self,N=1):
93 if N==1:
94 return self.unpack('l',self.f.read(8))[0] #long
95 else:
96 return self.unpack('{:d}l'.format(N),self.f.read(N*8))[0:N] #long
97 def read_int(self,N=1):
98 return self.read_int4(N)
99

Callers

nothing calls this directly

Calls 2

unpackMethod · 0.95
readMethod · 0.80

Tested by

no test coverage detected