Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByteStorage/FlyDB
/ readNBytes
Method
readNBytes
engine/data/data_file.go:139–143 ·
view source on GitHub ↗
(n int64, offset int64)
Source
from the content-addressed store, hash-verified
137
}
138
139
func
(df *DataFile) readNBytes(n int64, offset int64) (b []byte, err error) {
140
b = make([]byte, n)
141
_, err = df.IoManager.Read(b, offset)
142
return
143
}
Callers
1
ReadLogRecord
Method · 0.95
Calls
1
Read
Method · 0.65
Tested by
no test coverage detected