C# Class ImageTools.IO.Png.PngChunk

Stores header information about a chunk.
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Свойство 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
Résultat 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
Résultat 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
Résultat int

Type public_oe property

A chunk type as string with 4 chars.
public string Type
Résultat string