MCPcopy Create free account
hub / github.com/DNAProject/DNA / NewZeroCopySource

Function NewZeroCopySource

common/zero_copy_source.go:274–274  ·  view source on GitHub ↗

NewReader returns a new ZeroCopySource reading from b.

(b []byte)

Source from the content-addressed store, hash-verified

272
273// NewReader returns a new ZeroCopySource reading from b.
274func NewZeroCopySource(b []byte) *ZeroCopySource { return &ZeroCopySource{b, 0} }

Calls

no outgoing calls