MCPcopy Create free account
hub / github.com/WICG/webpackage / WriteTo

Method WriteTo

go/bundle/encoder.go:419–421  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

417func (rs *responsesSection) Name() string { return "responses" }
418func (rs *responsesSection) Len() int { return rs.buf.Len() }
419func (rs *responsesSection) WriteTo(w io.Writer) (int64, error) {
420 return rs.buf.WriteTo(w)
421}
422
423type primarySection struct {
424 bytes.Buffer

Callers

nothing calls this directly

Calls 1

WriteToMethod · 0.45

Tested by

no test coverage detected