pdf-toolbox-core-0.1.1: A collection of tools for processing PDF files.
Safe HaskellNone
LanguageHaskell2010

Pdf.Core.Util

Description

Unclassified tools

Synopsis

Documentation

notice :: Maybe a -> String -> Either String a Source #

Add a message to Maybe

readObjectAtOffset Source #

Arguments

:: Buffer 
-> Int64

object offset

-> IO (Ref, Object) 

Read indirect object at the specified offset

Returns the object and the Ref. The payload for stream will be an offset of stream content

readCompressedObject Source #

Arguments

:: InputStream ByteString

decoded object stream

-> Int64

an offset of the first object ("First" key in dictionary)

-> Int

object number to read

-> IO Object 

Read object from object stream

Never returns Stream