C# Class PRI.ProductivityExtensions.EncoderExtensions.Encoderable

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

Méthodes publiques

Méthode Description
Convert ( this encoder, Char chars, Byte bytes, Int32 byteIndex, Int32 byteCount, System.Boolean flush, Int32 &charsUsed, Int32 &bytesUsed, System.Boolean &completed ) : void

Extends Convert so that buffer offset of 0 and call to Array.Length are not needed. encoder.Convert(chars, bytes, byteIndex, byteCount, flush, charsUsed, bytesUsed, completed);

GetByteCount ( this encoder, Char chars, System.Boolean flush ) : Int32

Extends GetByteCount so that buffer offset of 0 and call to Array.Length are not needed. encoder.GetByteCount(chars, flush);

GetBytes ( this encoder, Char chars, Byte bytes, Int32 byteIndex, System.Boolean flush ) : Int32

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

Method Details

Convert() public static méthode

Extends Convert so that buffer offset of 0 and call to Array.Length are not needed. encoder.Convert(chars, bytes, byteIndex, byteCount, flush, charsUsed, bytesUsed, completed);
public static Convert ( this encoder, Char chars, Byte bytes, Int32 byteIndex, Int32 byteCount, System.Boolean flush, Int32 &charsUsed, Int32 &bytesUsed, System.Boolean &completed ) : void
encoder this
chars Char
bytes Byte
byteIndex System.Int32
byteCount System.Int32
flush System.Boolean
charsUsed System.Int32
bytesUsed System.Int32
completed System.Boolean
Résultat void

GetByteCount() public static méthode

Extends GetByteCount so that buffer offset of 0 and call to Array.Length are not needed. encoder.GetByteCount(chars, flush);
public static GetByteCount ( this encoder, Char chars, System.Boolean flush ) : Int32
encoder this
chars Char
flush System.Boolean
Résultat System.Int32

GetBytes() public static méthode

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