function ReadBuffer(var Buffer; const Count: integer): integer; overload;

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



Reads Count bytes from the stream of client data into Buffer. ReadBuffer returns the count of bytes that were actually read.

If the size of the received data is less than Count bytes, ReadBuffer waits the amount of time specified in the Timeout property, and then returns control.


See Also





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