C# Class AcTools.Utils.Helpers.UTF8Checker

显示文件 Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
IsUtf8 ( byte buffer, int limit = int.MaxValue ) : bool
IsValid ( byte buffer, int position, int length, int &bytes ) : bool

Method Details

IsUtf8() public static method

public static IsUtf8 ( byte buffer, int limit = int.MaxValue ) : bool
buffer byte
limit int
return bool

IsValid() public static method

public static IsValid ( byte buffer, int position, int length, int &bytes ) : bool
buffer byte
position int
length int
bytes int
return bool