help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Procedures and functions] Reference for unit 'pwumain' (#powtils_main)

BufferOut

Declaration

Source position: pwumain.pas line 143

procedure BufferOut(

  const Buff;

  BuffLength: LongWord

);

Notes

Use this function to output untyped data such as a binary PDF, GIF, JPG file.

While the webwrite() function is designed to output text data, the BufferOut() will output binary data. You should set the content type before binary output by using the SetHeader function.

For an example, see SetHeader






lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505