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

Method Reader

asyncbuffer/buffer.go:225–227  ·  view source on GitHub ↗

Reader returns an io.ReadSeeker+io.ReaderAt that can be used to read actual data from the AsyncBuffer

()

Source from the content-addressed store, hash-verified

223
224// Reader returns an io.ReadSeeker+io.ReaderAt that can be used to read actual data from the AsyncBuffer
225func (ab *AsyncBuffer) Reader() *Reader {
226 return &Reader{ab: ab, pos: 0}
227}
228
229// ReadAt reads data from the AsyncBuffer at the given offset.
230//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected