Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WICG/webpackage
/ DecodeMapHeader
Method
DecodeMapHeader
go/internal/cbor/decoder.go:90–92 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
88
}
89
90
func
(d *Decoder) DecodeMapHeader() (uint64, error) {
91
return
d.decodeOfType(TypeMap)
92
}
93
94
func
(d *Decoder) decodeBytesOfType(expected Type) ([]byte, error) {
95
n, err := d.decodeOfType(expected)
Callers
9
parseIndexSection
Function · 0.95
parseIndexSectionWithVariants
Function · 0.95
parseSignaturesSection
Function · 0.95
decodeSignedSubset
Function · 0.95
decodeCborHeaders
Function · 0.80
decodeSubsetHashes
Function · 0.80
decodeRequestMap
Method · 0.80
decodeResponseMap
Method · 0.80
DecodeAugmentedCertificateFrom
Function · 0.80
Calls
1
decodeOfType
Method · 0.95
Tested by
no test coverage detected