C# Class PRI.ProductivityExtensions.EncodingExtensions.Encodingable

Class that contains extension methods that extend Encoding
Afficher le fichier Open project: peteraritchie/ProductivityExtensions

Méthodes publiques

Méthode Description
GetBytes ( this encoding, Char chars, Byte bytes, Int32 byteIndex ) : Int32

Extends GetBytes so that buffer offset of 0 and call to Array.Length are not needed. encoding.GetBytes(chars, bytes, byteIndex);

GetChars ( this encoding, Byte bytes, Char chars, Int32 charIndex ) : Int32

Extends GetChars so that buffer offset of 0 and call to Array.Length are not needed. encoding.GetChars(bytes, chars, charIndex);

Method Details

GetBytes() public static méthode

Extends GetBytes so that buffer offset of 0 and call to Array.Length are not needed. encoding.GetBytes(chars, bytes, byteIndex);
public static GetBytes ( this encoding, Char chars, Byte bytes, Int32 byteIndex ) : Int32
encoding this
chars Char
bytes Byte
byteIndex System.Int32
Résultat System.Int32

GetChars() public static méthode

Extends GetChars so that buffer offset of 0 and call to Array.Length are not needed. encoding.GetChars(bytes, chars, charIndex);
public static GetChars ( this encoding, Byte bytes, Char chars, Int32 charIndex ) : Int32
encoding this
bytes Byte
chars Char
charIndex System.Int32
Résultat System.Int32