MCPcopy Index your code
hub / github.com/bitfield/script / ExamplePipe_Bytes

Function ExamplePipe_Bytes

script_test.go:2248–2256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2246}
2247
2248func ExamplePipe_Bytes() {
2249 data, err := script.Echo("hello").Bytes()
2250 if err != nil {
2251 panic(err)
2252 }
2253 fmt.Printf("%v\n", data)
2254 // Output:
2255 // [104 101 108 108 111]
2256}
2257
2258func ExamplePipe_Column() {
2259 input := []string{

Callers

nothing calls this directly

Calls 2

EchoFunction · 0.92
BytesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…