Skip to main content

EncodingDetector Methods

Provides the capability to detect text encoding.
Name Description
AnalyseData(Byte[], Int32, Int32) Performs encoding detection for the specified sequence of bytes in the byte array.
BeginDetection() Initializes an internal list of detectors for individual encodings and sets the initial detector state.
Detect(Byte[], Int32, Int32) Detect character encoding of bytes in the specified range of an array.
Detect(Byte[]) Detect character encoding of bytes in the specified range of an array.
Detect(Stream, Int32, Boolean) Detect character encoding of bytes in the specified stream.
Detect(Stream, Int32) Detect character encoding of bytes in the specified stream.
Detect(Stream) Detect character encoding of bytes in the specified stream.
EndDetection() Returns the result of encoding detection.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also