func encoding/hex.EncodedLen
5 uses
encoding/hex (current package)
hex.go#L19: func EncodedLen(n int) int { return n * 2 }
hex.go#L99: dst := make([]byte, EncodedLen(len(src)))
github.com/go-redis/redis/v8/internal
arg.go#L61: dst = append(dst, make([]byte, hex.EncodedLen(len(src)))...)
github.com/lib/pq
array.go#L187: size += hex.EncodedLen(len(x))
encode.go#L562: result = make([]byte, 2+hex.EncodedLen(len(v)))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |