Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

ReadPipe method

Project: I/O Utility Classes

Unit: PJPipeFilters

Class: TPJUnicodeBMPPipeFilter

Applies to: ~>1.0

procedure ReadPipe;

Description

Reads and processes all available data from the pipe being filtered. Data is converted into Unicode text.

A OnText event is triggered containing the text read from the pipe.

For each complete line of text read a OnLineEnd event will also be triggered. Any text following the last line end will be held over until the next call to ReadPipe or Flush.

Remarks

Lines are divided according the the end of line character(s) specified by the EOLMarker property.