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

Method DecodeArrayHeader

go/internal/cbor/decoder.go:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (d *Decoder) DecodeArrayHeader() (uint64, error) {
87 return d.decodeOfType(TypeArray)
88}
89
90func (d *Decoder) DecodeMapHeader() (uint64, error) {
91 return d.decodeOfType(TypeMap)

Callers 8

decodeSectionLengthsCBORFunction · 0.95
parseIndexSectionFunction · 0.95
parseSignaturesSectionFunction · 0.95
loadMetadataFunction · 0.95
ReadCertChainFunction · 0.95
decodeSubsetHashesFunction · 0.80
decodeExchangeHeadersMethod · 0.80

Calls 1

decodeOfTypeMethod · 0.95

Tested by

no test coverage detected