Method | Description | |
---|---|---|
BOMReader ( Stream stream ) : System |
Default constructor.
|
|
GetEncoding ( |
Gets the encoding, or the default encoding provided if no explicit encoding is available
|
Method | Description | |
---|---|---|
Parse ( ) : void |
Parses the input stream to obtain an encoding
|
Method | Description | |
---|---|---|
GetEncodingFromXML ( ) : |
||
GetFileEncoding ( ) : |
||
Matches ( byte buffer ) : bool |
Test if the header matches the bytes passed (up to the length of the array passed)
|
public BOMReader ( Stream stream ) : System | ||
stream | Stream | /// The stream to analyze. /// |
return | System |
public GetEncoding ( |
||
defaultEncoding | ||
return |