C# Class System.Text.Utf16.Utf16LittleEndianEncoder

Afficher le fichier Open project: antiufo/Shaman.ValueString Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

TryDecodeCodePointFromString() public static méthode

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

TryEncodeCodePoint() public static méthode

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

Write() public static méthode

public static Write ( char array, uint v ) : void
array char
v uint
Résultat void

Write() public static méthode

public static Write ( char array, ushort v ) : void
array char
v ushort
Résultat void