function ReadString: string;

 

Description

The ReadString method reads all data from the stream and returns it as a string. If the size of the received data is equal to 0, ReadString returns an empty string.

The UseUnicode property specifies, whether UTF8 conversion from the stream to the string is to be used.

 

See Also

OnAsyncReceive

ReadBuffer

ReadNoWait

UseUnicode

 

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