function WriteBuffer(const Buffer; const Count: integer): integer; overload;

function WriteBuffer(const Buffer: TBytes; const Offset, Count: integer): integer; overload;

 

Description

Call WriteBuffer to transfer Count bytes from Buffer through an existent connection. The function returns bytes count that was actually transferred.

 

Note:

This method works only if the Direct property is set to True. Otherwise, an exception is raised.

 

See Also

ReadBuffer

WriteString

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support