MCPcopy Create free account
hub / github.com/blobcache/blobcache / Body

Method Body

src/bcp/message.go:188–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186}
187
188func (m *Message) Body() []byte {
189 return m.buf[HeaderLen:]
190}
191
192func (m *Message) WriteTo(w io.Writer) (int64, error) {
193 _, err := w.Write(m.buf)

Callers 7

PostFunction · 0.95
GetFunction · 0.95
doAskFunction · 0.95
TestMessageReadWriteFunction · 0.95
TestPermissionWireErrorFunction · 0.95
ServeBCPMethod · 0.80
handleAskFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestMessageReadWriteFunction · 0.76
TestPermissionWireErrorFunction · 0.76