MCPcopy Index your code
hub / github.com/klauspost/compress / WriteTo

Method WriteTo

zstd/decoder.go:619–621  ·  view source on GitHub ↗

WriteTo forwards WriteTo calls to the decoder.

(w io.Writer)

Source from the content-addressed store, hash-verified

617
618// WriteTo forwards WriteTo calls to the decoder.
619func (c closeWrapper) WriteTo(w io.Writer) (n int64, err error) {
620 return c.d.WriteTo(w)
621}
622
623// Read forwards read calls to the decoder.
624func (c closeWrapper) Read(p []byte) (n int, err error) {

Callers

nothing calls this directly

Calls 1

WriteToMethod · 0.45

Tested by

no test coverage detected