Lightweight zero-dependency ISO 32000-1 PDF byte-stream header, startxref tail scanner, and classic 20-byte xref entry parser for Clojure.
Lightweight zero-dependency ISO 32000-1 PDF byte-stream header, startxref tail scanner, and classic 20-byte xref entry parser for Clojure.
(find-startxref-offset data)Scans the trailing 1024-byte window per ISO 32000-1 7.5.5 to extract the startxref byte offset.
Scans the trailing 1024-byte window per ISO 32000-1 7.5.5 to extract the startxref byte offset.
(parse-pdf-header data)Inspects a byte-array for a valid %PDF-M.m header and 4-byte binary comment marker.
Inspects a byte-array for a valid %PDF-M.m header and 4-byte binary comment marker.
(parse-xref-entry line)Parses a classic 20-byte ISO 32000-1 cross-reference table line ('nnnnnnnnnn ggggg n').
Parses a classic 20-byte ISO 32000-1 cross-reference table line ('nnnnnnnnnn ggggg n').
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |