Name | Description | |
---|---|---|
tOWd |
The following tables list the members exposed by NStreamHelpers.
Name | Description | |
---|---|---|
CopyStream | Copies the given source stream to the specified destination stream and advances the Position in the destination stream to its end. If you want to read from the destination stream do not forget to set its Position property to the proper value. | |
ReadToEnd | Reads all bytes from the specified stream from the current position to the end of the stream. | |
ReadToEndAsString | Overloaded. Reads the given stream to the end and converts the read bytes to string using the UTF8 encoding. | |
TryDetectEncodingFromBOM | Tries to detect the encoding of the given data by looking at the Byte Order Mask (if any) the given data starts with and returns true on success. | |
WriteString | Overloaded. Writes the specified string to the given stream using the UTF8 encoding. |