MCPcopy
hub / github.com/bitfield/script / ExamplePipe_DecodeBase64

Function ExamplePipe_DecodeBase64

script_test.go:2297–2301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2295}
2296
2297func ExamplePipe_DecodeBase64() {
2298 script.Echo("SGVsbG8sIHdvcmxkIQ==").DecodeBase64().Stdout()
2299 // Output:
2300 // Hello, world!
2301}
2302
2303func ExamplePipe_Do() {
2304 ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

Callers

nothing calls this directly

Calls 3

EchoFunction · 0.92
StdoutMethod · 0.80
DecodeBase64Method · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…