C# Class System.Text.Utf16.Utf16LittleEndianEncoder

Datei anzeigen Open project: antiufo/Shaman.ValueString Class Usage Examples

Public Methods

Method Description
TryDecodeCodePoint ( Span buffer, System.Text.UnicodeCodePoint &codePoint, int &encodedBytes ) : bool
TryDecodeCodePointFromString ( string s, int index, System.Text.UnicodeCodePoint &codePoint, int &encodedChars ) : bool
TryEncodeCodePoint ( System.Text.UnicodeCodePoint codePoint, char buffer, int &encodedChars ) : bool
Write ( char array, uint v ) : void
Write ( char array, ushort v ) : void

Method Details

TryDecodeCodePoint() public static method

public static TryDecodeCodePoint ( Span buffer, System.Text.UnicodeCodePoint &codePoint, int &encodedBytes ) : bool
buffer Span
codePoint System.Text.UnicodeCodePoint
encodedBytes int
return bool

TryDecodeCodePointFromString() public static method

public static TryDecodeCodePointFromString ( string s, int index, System.Text.UnicodeCodePoint &codePoint, int &encodedChars ) : bool
s string
index int
codePoint System.Text.UnicodeCodePoint
encodedChars int
return bool

TryEncodeCodePoint() public static method

public static TryEncodeCodePoint ( System.Text.UnicodeCodePoint codePoint, char buffer, int &encodedChars ) : bool
codePoint System.Text.UnicodeCodePoint
buffer char
encodedChars int
return bool

Write() public static method

public static Write ( char array, uint v ) : void
array char
v uint
return void

Write() public static method

public static Write ( char array, ushort v ) : void
array char
v ushort
return void