C# Class UtfString.Utf8.Decoder

Show file Open project: ufcpp/UfcppSample

Public Properties

Property Type Description
cp CodePoint

Public Methods

Method Description
Decode ( ArrayAccessor buffer, Index index ) : CodePoint
GetLength ( ArrayAccessor buffer ) : int
TyrGetCount ( ArrayAccessor buffer, int index ) : byte

Private Methods

Method Description
TryDecode ( ArrayAccessor buffer, int index ) : System
TryNext ( ArrayAccessor buffer, int &index, uint &code ) : bool

Method Details

Decode() public static method

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

GetLength() public static method

public static GetLength ( ArrayAccessor buffer ) : int
buffer ArrayAccessor
return int

TyrGetCount() public static method

public static TyrGetCount ( ArrayAccessor buffer, int index ) : byte
buffer ArrayAccessor
index int
return byte

Property Details

cp public static property

public static CodePoint cp
return CodePoint