internal override int WriteDataWireFormat(byte[] dst, int dstIndex)
{
if ((dst.Length - dstIndex) < _pipeDataLen)
{
if (Log.Level >= 3)
{
Log.WriteLine("TransCallNamedPipe data too long for buffer");
}
return 0;
}
Array.Copy(_pipeData, _pipeDataOff, dst, dstIndex, _pipeDataLen);
return _pipeDataLen;
}