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.

WriteBytes method

Project: I/O Utility Classes

Unit: PJPipe

Class: TPJPipe

Applies to: ~>1.0

procedure WriteBytes(const Bytes: TBytes);


This method writes the whole content of a byte array to the pipe. The parameter is:

An EInOutError exception is raised if the pipe’s write handle has been closed or the pipe can’t be written to.


On versions of Delphi where TBytes is not defined in SysUtils, the PJPipe unit defines it as:

type TBytes = array of Byte;