Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ encode
Method
encode
encoding/cbor/encode.go:20–22 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
(i NegInt) encode(p []byte) int {
21
return
encodeArg(majorTypeNegInt, uint64(i-1), p)
22
}
23
24
func
(s Slice) len() int {
25
return
itoarglen(len(s)) + len(s)
Callers
nothing calls this directly
Calls
1
encodeArg
Function · 0.85
Tested by
no test coverage detected