{
            int readCount = 0;            
            
            for (int i = offset; i < buffer.Length; i++)
            {