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

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



Call ReadBuffer to read Count bytes from the stream into Buffer. ReadBuffer returns bytes count that was actually read.

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


See Also





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