StreamExtension Class
Extension methods for the
Stream class.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.3+0b4e3cc14d7870504a77e224d298b921bfc6f2ee
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. |