MCPcopy Create free account
hub / github.com/golang/groupcache / SetBytes

Method SetBytes

sinks.go:35–35  ·  view source on GitHub ↗

SetBytes sets the value to the contents of v. The caller retains ownership of v.

(v []byte)

Source from the content-addressed store, hash-verified

33 // SetBytes sets the value to the contents of v.
34 // The caller retains ownership of v.
35 SetBytes(v []byte) error
36
37 // SetProto sets the value to the encoded version of m.
38 // The caller retains ownership of m.

Callers 2

setSinkViewFunction · 0.65

Implementers 5

stringSinksinks.go
byteViewSinksinks.go
protoSinksinks.go

Calls

no outgoing calls

Tested by 1