/* This function writes a stream dictionary for a PDF stream to output.  */
tsize_t t2p_write_pdf_stream_dict(tsize_t, uint32, TIFF *)
/* This function writes a stream dictionary for a PDF stream to output.  */
tsize_t t2p_write_pdf_stream_dict(tsize_t, uint32, TIFF *)
{
		written += t2p_write_pdf_stream_length(len, output);
	} else {
		buflen=snprintf(buffer, sizeof(buffer), "%lu", (unsigned long)number);
		check_snprintf_ret((T2P*)NULL, buflen, buffer);
		written += t2pWriteFile(output, (tdata_t) buffer, buflen);
		written += t2pWriteFile(output, (tdata_t) " 0 R \n", 6);
	}
	return(written);
}