pdf-stream ( str -- str' )


Vocabulary
pdf.layout

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 ;