Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ consume_buffer
Function
consume_buffer
src/ifcopenshell-python/ifcopenshell/file.py:264–269 ·
view source on GitHub ↗
(val, inner)
Source
from the content-addressed store, hash-verified
262
263
264
def
consume_buffer(val, inner):
265
while
val:
266
s = struct.unpack(
"@q"
, val[:8])[0]
267
val = val[8:]
268
yield
inner(val[0:s])
269
val = val[s:]
270
271
272
binary_deserializers = (
Callers
1
file.py
File · 0.85
Calls
1
inner
Function · 0.70
Tested by
no test coverage detected