MCPcopy
hub / github.com/NVIDIA/aistore / ByteHandle

Struct ByteHandle

cmn/cos/io.go:109–112  ·  view source on GitHub ↗

ByteHandle is a byte buffer(made from []byte) that implements ReadOpenCloser interface

Source from the content-addressed store, hash-verified

107 // ByteHandle is a byte buffer(made from []byte) that implements
108 // ReadOpenCloser interface
109 ByteHandle struct {
110 b []byte
111 *bytes.Reader
112 }
113
114 nopOpener struct{ io.ReadCloser }
115 WriterMulti struct{ writers []io.Writer }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected