MCPcopy 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
70func (e *Encoder) EncodeUint(n uint64) error {
71 return e.encodeTypedUint(TypePosInt, n)
72}
73
74func (e *Encoder) EncodeInt(n int64) error {
75 if n >= 0 {

Callers 3

writeSectionOffsetsFunction · 0.95
FinalizeMethod · 0.80
newSignaturesSectionFunction · 0.80

Calls 1

encodeTypedUintMethod · 0.95

Tested by

no test coverage detected