class

QOI::ChunkReader

Inherits Iterator < Enumerable < Reference < Object

Struct for reading chunk bytes.

Constructors

new(input : IO, description : QOI::Description)

Initialize iterator with input, which will be read on iterating.

Instance methods

done?
next

Read next pixel.

pixels_read
read_pixel?

Read next pixel.