StreamExtension Class
Extension methods for the
Stream class.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
public static class StreamExtension
<ExtensionAttribute>
Public NotInheritable Class StreamExtension
[ExtensionAttribute]
public ref class StreamExtension abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type StreamExtension = class end
- Inheritance
- Object StreamExtension
| IsUtf8 | Tests whether the specified section of stream that extends
at least count decoded characters from the current Position is UTF-8 text. The method includes the byte order mark (BOM) in the check. |
| IsUtf8Valid | Tests whether the byte sequence of stream that starts
with the current Position and is at least count characters long is valid UTF-8. |