MCPcopy Index your code
hub / github.com/Shopify/go-lua / readerOn

Function readerOn

undump_test.go:99–105  ·  view source on GitHub ↗
(data interface{}, t *testing.T)

Source from the content-addressed store, hash-verified

97}
98
99func readerOn(data interface{}, t *testing.T) io.Reader {
100 buf := new(bytes.Buffer)
101 if err := binary.Write(buf, endianness(), data); err != nil {
102 t.Fatal("couldn't serialize data -", err)
103 }
104 return buf
105}

Callers 1

expectErrorFromUndumpFunction · 0.85

Calls 1

endiannessFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…