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

Struct imageDataBytes

imagedata/image_data.go:34–39  ·  view source on GitHub ↗

imageDataBytes represents image data stored in a byte slice in memory

Source from the content-addressed store, hash-verified

32
33// imageDataBytes represents image data stored in a byte slice in memory
34type imageDataBytes struct {
35 format imagetype.Type
36 data []byte
37 cancel []context.CancelFunc
38 cancelOnce sync.Once
39}
40
41// imageDataAsyncBuffer is a struct that implements the ImageData interface backed by an AsyncBuffer
42type imageDataAsyncBuffer struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected