MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Reader

Method Reader

imagedata/image_data.go:67–69  ·  view source on GitHub ↗

Reader returns an io.ReadSeeker for the image data

()

Source from the content-addressed store, hash-verified

65
66// Reader returns an io.ReadSeeker for the image data
67func (d *imageDataBytes) Reader() io.ReadSeeker {
68 return bytes.NewReader(d.data)
69}
70
71// Size returns the size of the image data in bytes.
72func (d *imageDataBytes) Size() (int, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected