Reader returns an io.ReadSeeker for the image data
()
| 65 | |
| 66 | // Reader returns an io.ReadSeeker for the image data |
| 67 | func (d *imageDataBytes) Reader() io.ReadSeeker { |
| 68 | return bytes.NewReader(d.data) |
| 69 | } |
| 70 | |
| 71 | // Size returns the size of the image data in bytes. |
| 72 | func (d *imageDataBytes) Size() (int, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected