C# Class UtfString.ArrayImplementation.Utf8.Decoder

显示文件 Open project: ufcpp/UfcppSample Class Usage Examples

Public Methods

Method Description
Decode ( byte buffer, Index index ) : CodePoint
GetByteCount ( byte buffer ) : int
TryDecode ( byte buffer, int &index, CodePoint &codePoint ) : bool
TryGetByteCount ( byte buffer, int index, byte &byteCount ) : bool

Method Details

Decode() public static method

public static Decode ( byte buffer, Index index ) : CodePoint
buffer byte
index Index
return CodePoint

GetByteCount() public static method

public static GetByteCount ( byte buffer ) : int
buffer byte
return int

TryDecode() public static method

public static TryDecode ( byte buffer, int &index, CodePoint &codePoint ) : bool
buffer byte
index int
codePoint CodePoint
return bool

TryGetByteCount() public static method

public static TryGetByteCount ( byte buffer, int index, byte &byteCount ) : bool
buffer byte
index int
byteCount byte
return bool