pdf-stream ( str -- str' )


Vocabulary
text-to-pdf.private

Inputs
stran object


Outputs
str'an object


Definition


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