C# Класс ImageTools.IO.Png.PngChunk

Stores header information about a chunk.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Crc uint
Data byte[]
Length int
Type string

Описание свойств

Crc публичное свойство

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
Результат uint

Data публичное свойство

The data bytes appropriate to the chunk type, if any. This field can be of zero length.
public byte[] Data
Результат byte[]

Length публичное свойство

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
Результат int

Type публичное свойство

A chunk type as string with 4 chars.
public string Type
Результат string