C# Class PRI.ProductivityExtensions.DecoderExtensions.Decoderable

Class that contains extension methods that extend Decoder
Datei anzeigen Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
Convert ( this decoder, Byte bytes, Char chars, Int32 charIndex, Int32 charCount, System.Boolean flush, Int32 &bytesUsed, Int32 &charsUsed, System.Boolean &completed ) : void

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

GetCharCount ( this decoder, Byte bytes ) : Int32

Extends GetCharCount so that buffer offset of 0 and call to Array.Length are not needed. decoder.GetCharCount(bytes);

GetCharCount ( this decoder, Byte bytes, System.Boolean flush ) : Int32

Extends GetCharCount so that buffer offset of 0 and call to Array.Length are not needed. decoder.GetCharCount(bytes, flush);

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

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

GetChars ( this decoder, Byte bytes, Char chars, Int32 charIndex, System.Boolean flush ) : Int32

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

Method Details

Convert() public static method

Extends Convert so that buffer offset of 0 and call to Array.Length are not needed. decoder.Convert(bytes, chars, charIndex, charCount, flush, bytesUsed, charsUsed, completed);
public static Convert ( this decoder, Byte bytes, Char chars, Int32 charIndex, Int32 charCount, System.Boolean flush, Int32 &bytesUsed, Int32 &charsUsed, System.Boolean &completed ) : void
decoder this
bytes Byte
chars Char
charIndex System.Int32
charCount System.Int32
flush System.Boolean
bytesUsed System.Int32
charsUsed System.Int32
completed System.Boolean
return void

GetCharCount() public static method

Extends GetCharCount so that buffer offset of 0 and call to Array.Length are not needed. decoder.GetCharCount(bytes);
public static GetCharCount ( this decoder, Byte bytes ) : Int32
decoder this
bytes Byte
return System.Int32

GetCharCount() public static method

Extends GetCharCount so that buffer offset of 0 and call to Array.Length are not needed. decoder.GetCharCount(bytes, flush);
public static GetCharCount ( this decoder, Byte bytes, System.Boolean flush ) : Int32
decoder this
bytes Byte
flush System.Boolean
return System.Int32

GetChars() public static method

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

GetChars() public static method

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