Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WICG/webpackage
/ encodeMapHeader
Method
encodeMapHeader
go/internal/cbor/encoder.go:154–156 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
152
}
153
154
func
(e *Encoder) encodeMapHeader(n int) error {
155
return
e.encodeTypedUint(TypeMap, uint64(n))
156
}
157
158
func
(e *Encoder) EncodeBool(b bool) error {
159
ai := byte(0)
Callers
1
EncodeMap
Method · 0.95
Calls
1
encodeTypedUint
Method · 0.95
Tested by
no test coverage detected