function Read(var Buffer; Count: integer): integer; overload;

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



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

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


See Also




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