struct PNGUtil::Chunk

Defined in:

png_util/chunk.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(type : String, data : Slice(UInt8), crc : UInt32) #

[View source]

Class Method Detail

def self.parse(slice : Bytes) #

Parse chunk data without size.


[View source]

Instance Method Detail

def crc : UInt32 #

[View source]
def data : Bytes #

[View source]
def size #

[View source]
def type : String #

[View source]
def write(io : IO) #

Write chunk data to io with size.


[View source]