MCPcopy Create free account
hub / github.com/danielpaulus/quicktime_video_hack / loadFromFile

Function loadFromFile

screencapture/messageprocessor_test.go:186–192  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

184}
185
186func loadFromFile(name string) []byte {
187 dat, err := ioutil.ReadFile("packet/fixtures/" + name)
188 if err != nil {
189 log.Fatal(err)
190 }
191 return dat
192}

Calls

no outgoing calls

Tested by

no test coverage detected