MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / ReadBody

Method ReadBody

internal/caches/reader.go:27–27  ·  view source on GitHub ↗

ReadBody 读取Body

(buf []byte, callback ReaderFunc)

Source from the content-addressed store, hash-verified

25
26 // ReadBody 读取Body
27 ReadBody(buf []byte, callback ReaderFunc) error
28
29 // Read 实现io.Reader接口
30 Read(buf []byte) (int, error)

Callers 6

hotLoopMethod · 0.65
TestFileStorage_ReadFunction · 0.65

Calls

no outgoing calls

Tested by 5

TestFileStorage_ReadFunction · 0.52