(PECL pdflib >= 2.1.0)
PDF_pcos_get_stream — Get contents of pCOS path with type stream, fstream, or string
$p
    , int $doc
    , string $optlist
    , string $path
    )Gets the contents of a pCOS path with type stream, fstream, or string.