MCPcopy Create free account
hub / github.com/coreboot/coreboot / readinto

Method readinto

util/me_cleaner/me_cleaner.py:55–59  ·  view source on GitHub ↗
(self, b)

Source from the content-addressed store, hash-verified

53 raise OutOfRegionException()
54
55 def readinto(self, b):
56 if f.tell() + len(b) <= self.region_end:
57 return self.f.readinto(b)
58 else:
59 raise OutOfRegionException()
60
61 def seek(self, offset):
62 if self.region_start + offset <= self.region_end:

Callers 1

relocate_partitionFunction · 0.80

Calls 1

Tested by

no test coverage detected