Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WICG/webpackage
/ EncodeUint
Method
EncodeUint
go/internal/cbor/encoder.go:70–72 ·
view source on GitHub ↗
(n uint64)
Source
from the content-addressed store, hash-verified
68
}
69
70
func
(e *Encoder) EncodeUint(n uint64) error {
71
return
e.encodeTypedUint(TypePosInt, n)
72
}
73
74
func
(e *Encoder) EncodeInt(n int64) error {
75
if
n >= 0 {
Callers
3
writeSectionOffsets
Function · 0.95
Finalize
Method · 0.80
newSignaturesSection
Function · 0.80
Calls
1
encodeTypedUint
Method · 0.95
Tested by
no test coverage detected