pdf-stream ( str -- str' )


Vocabulary
text-to-pdf.private

Inputs and outputs
stran object
str'an object


Definition


: pdf-stream ( str -- str' )
[ length 1 + "<<\n/Length %d\n>>" sprintf ]
[ "\nstream\n" "\nendstream" surround ] bi append ;