MCPcopy Create free account
hub / github.com/rsc/tmp / Encode

Function Encode

git85/git.go:50–79  ·  view source on GitHub ↗

Encode encodes src into EncodedLen(len(src)) bytes of dst. As a convenience, it returns the number of bytes written to dst, but this value is always EncodedLen(len(src)). Encode implements the radix 85 encoding used in the Git version control tool. The encoding splits src into chunks of at most 52

(dst, src []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

WriteMethod · 0.70
CloseMethod · 0.70
TestEncodeFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestEncodeFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…