struct

PNGUtil::Chunk

Inherits Struct < Value < Object

Constructors

new(type : String, data : Slice(UInt8), crc : UInt32)
Source

Class methods

parse(slice : Bytes)

Parse chunk data without size.

Source

Instance methods

data
Source
size
Source
type
Source
write(io : IO)

Write chunk data to io with size.

Source