MCPcopy
hub / github.com/coder/websocket / Base64

Function Base64

internal/test/xrand/xrand.go:51–53  ·  view source on GitHub ↗

Base64 returns a randomly generated base64 string of length n.

(n int)

Source from the content-addressed store, hash-verified

49
50// Base64 returns a randomly generated base64 string of length n.
51func Base64(n int) string {
52 return base64.StdEncoding.EncodeToString(Bytes(n))
53}

Callers 2

TestAcceptFunction · 0.92

Calls 1

BytesFunction · 0.85

Tested by 2

TestAcceptFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…