class StumpyPNG::Chunk
- StumpyPNG::Chunk
- Reference
- Object
Defined in:
stumpy_png/chunk.crConstructors
Class Method Summary
-
.parse(slice : Bytes)
Parse chunk data without size.
Instance Method Summary
- #crc : UInt32
- #crc=(crc : UInt32)
- #data : Bytes
- #data=(data : Bytes)
-
#raw : Bytes
Returns chunk data with size as a
Bytes
. - #size
- #type : String
- #type=(type : String)
-
#write(io : IO)
Write chunk data to io with size.