MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_buffer

Function get_buffer

methods.py:1594–1596  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

1592
1593
1594def get_buffer(path: str) -> bytes:
1595 with open(path, "rb") as file:
1596 return file.read()
1597
1598
1599def compress_buffer(buffer: bytes) -> bytes:

Callers 9

get_8Method · 0.85
get_16Method · 0.85
get_32Method · 0.85
get_64Method · 0.85
get_varMethod · 0.85
get_bufferMethod · 0.85
get_as_utf8_stringMethod · 0.85
get_pascal_stringMethod · 0.85
get_lineMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected