Step file-peek {http://www.daisy.org/ns/pipeline/xproc}

Defined in: http://www.daisy.org/pipeline/modules/file-utils/library.xpl

Output Ports

Port Description
result primary

Options

Local Name Namespace URI Default Description
href required

URI to the file you want to read bytes from.

May also be an entry inside a ZIP file.

offset required

Number of bytes to skip into the file.

length required

Number of bytes to include in the result.

use-base64 'false'

By default, the output will be hex-ecoded, which is normally easier to manipulate. If you want base64-encoded output then you can set this to true.