Reader

[Raku PDF Project] / [PDF-Native Module] / PDF::Native :: Reader

class PDF::Native::Reader

Reading of PDF components and datatypes

The only method so far implemented is read-xref for the fast reading of cross reference indices.

use PDF::Native::Reader;

given PDF::Native::Reader.new {

     enum <free inuse>;

     my Str $xref = (
         'xref',
         '10 4',
         '0000000000 65535 f ',
         '0000000042 00000 n ',
         '0000000069 00000 n ',
         '9000000100 00002 n ',
         ''
     ).join(10.chr);
     my Blob $buf = $xref.encode('latin-1');

     my array $entries = .read-xref($buf);
}

PDF::Native v0.1.13

Native drop-in native routines for PDF::IO

Authors

  • David Warring

License

Artistic-2.0

Dependencies

LibraryMakePDF::GrammarMethod::Also

Test Dependencies

Provides

  • PDF::Native
  • PDF::Native::Buf
  • PDF::Native::COS
  • PDF::Native::Defs
  • PDF::Native::Filter::Predictors
  • PDF::Native::Reader
  • PDF::Native::Writer

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.