| slug | /model/png |
|---|---|
| title | PNG package reference |
| sidebar_position | 7 |
BinaryParsec.Protocols.Png exposes zero-copy chunk tokenizers and a validated file-level parser.
The PNG package keeps the signature, chunk envelope, chunk stream, and owned file model separate. That makes the binary structure visible while still giving callers a clean file-level entry point.
PngPngChunkEnvelopePngSlicePngChunkStreamPngImageHeaderPngChunkPngFile
- Match the PNG signature and read the first chunk without copying.
- Walk chunk envelopes through
IEND. - Materialize a validated PNG file model from a contiguous datastream.
Png.signaturePng.chunkEnvelopePng.initialSlicePng.chunkStreamPng.filePng.tryParseFilePng.parseFile
PngChunkStream.ChunksPngFile.Chunks
PngParserPngMaterializer