System.Data.SqlClient.TdsParser.CopyCharsToBytes C# (CSharp) Method

CopyCharsToBytes() private static method

private static CopyCharsToBytes ( char source, int sourceOffset, byte dest, int destOffset, int charLength ) : void
source char
sourceOffset int
dest byte
destOffset int
charLength int
return void
        private static void CopyCharsToBytes(char[] source, int sourceOffset, byte[] dest, int destOffset, int charLength)
        {
            Buffer.BlockCopy(source, sourceOffset, dest, destOffset, charLength * ADP.CharSize);
        }
TdsParser