-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overload of DetectFromBytes(byte[] bytes, int offset, int len) (#106)
* Add an overload of CharsetDetector.DetectFromBytes * Patch IsStartsWithBom to support offset parameter * Remove System.Memory reference * Patch CharsetDetector.FindInputState * Patch CharsetDetector.FindInputState (2) * Fix duplicated offset from the index base * Doc/Msg improvement for DetectFromBytes overload Added BOM offset info to the docs of DetectFromBytes(byte[], int, int) Improvme exception message of DetectFromBytes(byte[], int, int)
- Loading branch information
1 parent
d52af8d
commit f1aa5fd
Showing
2 changed files
with
71 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters