Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1594
def
get_buffer(path: str) -> bytes:
1595
with
open(path,
"rb"
)
as
file:
1596
return
file.read()
1597
1598
1599
def
compress_buffer(buffer: bytes) -> bytes:
Callers
9
get_8
Method · 0.85
get_16
Method · 0.85
get_32
Method · 0.85
get_64
Method · 0.85
get_var
Method · 0.85
get_buffer
Method · 0.85
get_as_utf8_string
Method · 0.85
get_pascal_string
Method · 0.85
get_line
Method · 0.85
Calls
1
read
Method · 0.45
Tested by
no test coverage detected