C# Class PRI.ProductivityExtensions.EncodingExtensions.Encodingable

Class that contains extension methods that extend Encoding
ファイルを表示 Open project: peteraritchie/ProductivityExtensions

Public Methods

Method 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 method

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
return System.Int32

GetChars() public static method

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
return System.Int32