MCPcopy Create free account
hub / github.com/devld/go-drive / vm_urlBase64Encode

Function vm_urlBase64Encode

script/call_enc.go:30–32  ·  view source on GitHub ↗

vm_urlBase64Encode: (s Bytes) string

(vm *VM, args Values)

Source from the content-addressed store, hash-verified

28
29// vm_urlBase64Encode: (s Bytes) string
30func vm_urlBase64Encode(vm *VM, args Values) any {
31 return base64.URLEncoding.EncodeToString(GetBytes(args.Get(0).Raw()))
32}
33
34// vm_urlBase64Decode: (s string) Bytes
35func vm_urlBase64Decode(vm *VM, args Values) any {

Callers

nothing calls this directly

Calls 3

GetBytesFunction · 0.85
RawMethod · 0.80
GetMethod · 0.65

Tested by

no test coverage detected