class ChunkyPNG::Chunk::Generic
and will write it back as it was read.
The Generic chunk type will read the content from the chunk as it,
def self.read(type, content)
-
(ChunkyPNG::Chunk::Generic)
- The new chunk instance.
Parameters:
-
content
(String
) -- The content read from the chunk. -
type
(String
) -- The four character chunk type indicator.
def self.read(type, content) new(type, content) end
def initialize(type, content = "")
def initialize(type, content = "") super(type, content: content) end