imageDataAsyncBuffer is a struct that implements the ImageData interface backed by an AsyncBuffer
| 40 | |
| 41 | // imageDataAsyncBuffer is a struct that implements the ImageData interface backed by an AsyncBuffer |
| 42 | type imageDataAsyncBuffer struct { |
| 43 | b *asyncbuffer.AsyncBuffer |
| 44 | format imagetype.Type |
| 45 | desc string |
| 46 | cancel []context.CancelFunc |
| 47 | cancelOnce sync.Once |
| 48 | } |
| 49 | |
| 50 | // Close closes the image data and releases any resources held by it |
| 51 | func (d *imageDataBytes) Close() error { |
nothing calls this directly
no outgoing calls
no test coverage detected