MCPcopy Create free account
hub / github.com/cloudwego/netpoll / zcWriter

Struct zcWriter

nocopy_readwriter.go:157–160  ·  view source on GitHub ↗

zcWriter implements Writer.

Source from the content-addressed store, hash-verified

155
156// zcWriter implements Writer.
157type zcWriter struct {
158 w io.Writer
159 buf *LinkBuffer
160}
161
162// Malloc implements Writer.
163func (w *zcWriter) Malloc(n int) (buf []byte, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected