C# 클래스 PRI.ProductivityExtensions.EncoderExtensions.Encoderable

Class that contains extension methods that extend Encoder
파일 보기 프로젝트 열기: peteraritchie/ProductivityExtensions

공개 메소드들

메소드 설명
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);

메소드 상세

Convert() 공개 정적인 메소드

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
리턴 void

GetByteCount() 공개 정적인 메소드

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
리턴 System.Int32

GetBytes() 공개 정적인 메소드

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
리턴 System.Int32