MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / ReadHeader

Method ReadHeader

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

ReadHeader 读取Header

(buf []byte, callback ReaderFunc)

Source from the content-addressed store, hash-verified

22
23 // ReadHeader 读取Header
24 ReadHeader(buf []byte, callback ReaderFunc) error
25
26 // ReadBody 读取Body
27 ReadBody(buf []byte, callback ReaderFunc) error

Callers 6

doCacheReadMethod · 0.95
hotLoopMethod · 0.65
TestFileStorage_ReadFunction · 0.65

Calls

no outgoing calls

Tested by 4

TestFileStorage_ReadFunction · 0.52