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

Method Len

go/bundle/encoder.go:363–368  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361}
362
363func (is *indexSection) Len() int {
364 if is.bytes == nil {
365 panic("indexSection must be Finalize()-d before calling Len()")
366 }
367 return len(is.bytes)
368}
369
370func (is *indexSection) WriteTo(w io.Writer) (int64, error) {
371 if is.bytes == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected