C# Class ImageTools.IO.Png.PngChunk

Stores header information about a chunk.
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
Crc uint
Data byte[]
Length int
Type string

Property Details

Crc public_oe property

A CRC (Cyclic Redundancy Check) calculated on the preceding bytes in the chunk, including the chunk type code and chunk data fields, but not including the length field. The CRC is always present, even for chunks containing no data
public uint Crc
return uint

Data public_oe property

The data bytes appropriate to the chunk type, if any. This field can be of zero length.
public byte[] Data
return byte[]

Length public_oe property

An unsigned integer giving the number of bytes in the chunk's data field. The length counts only the data field, not itself, the chunk type code, or the CRC. Zero is a valid length
public int Length
return int

Type public_oe property

A chunk type as string with 4 chars.
public string Type
return string