Namespace: PdfSharp.BigGustave
The header for a data chunk in a PNG file.
public struct ChunkHeader
Inheritance Object → ValueType → ChunkHeader
The position/start of the chunk header within the stream.
public long Position { get; }
The length of the chunk in bytes.
public int Length { get; }
The name of the chunk, uppercase first letter means the chunk is critical (vs. ancillary).
public string Name { get; }
Whether the chunk is critical (must be read by all readers) or ancillary (may be ignored).
public bool IsCritical { get; }
A public chunk is one that is defined in the International Standard or is registered in the list of public chunk types maintained by the Registration Authority. Applications can also define private (unregistered) chunk types for their own purposes.
public bool IsPublic { get; }
Whether the (if unrecognized) chunk is safe to copy.
public bool IsSafeToCopy { get; }
Create a new ChunkHeader.
ChunkHeader(long position, int length, string name)
position
Int64
length
Int32
name
String
string ToString()